Changes between Initial Version and Version 1 of Ticket #309, comment 1


Ignore:
Timestamp:
08/08/13 19:08:24 (8 years ago)
Author:
Samuli Seppänen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #309, comment 1

    initial v1  
    11This topic was briefly discussed In a [wiki:Topics-2013-08-08 community meeting] on 8th Aug 2013:
    22
     3{{{
     4pekster: netsh [blah] Local Area Connection 5 works, but `netsh [blah]
     5         überdev [more blah]` does not
     6pekster: You need to pass the OS "überdev" and then it works
     7cron2_: pekster: OSes usually need the quotes to avoid shells (etc)
     8        breaking arguments with whitespace - in that case, I expect
     9        the issue to be with the CLI and UTF16 or so
     10cron2_: %s basically instructs argv_printf() to take "this string" and
     11        use it for a new argv[] entry
     12cron2_: pekster: try sprintf( actual_with_quotes, "\"%s\"", actual )
     13        and passing actual_with_quotes to argv_printf(), to see what
     14        happens
     15}}}
    316
    4 {{{
    5 pekster: netsh [blah] Local Area Connection 5 works, but `netsh [blah] überdev
    6          [more blah]` does not
    7 pekster: You need to pass the OS "überdev" and then it works
    8 }}}