www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13447] New: Do not escape process parameters unless necessary

https://issues.dlang.org/show_bug.cgi?id=13447

          Issue ID: 13447
           Summary: Do not escape process parameters unless necessary
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

Some Windows programs do not use CommandLineToArgvW. Examples: WinMerge,
GoLink, older programs written for Windows versions before Windows 2000 (which
introduced CommandLineToArgvW). These programs can't handle switches when they
are enclosed in quotes (e.g. "/r").

std.process should not quote parameters unless it is actually necessary for
them to be parsed correctly.

--
Sep 09 2014