Bug 13447 – Do not escape process parameters unless necessary
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2014-09-09T14:36:00Z
Last change time
2014-09-09T16:04:12Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0 by dlang-bugzilla — 2014-09-09T14:36:20Z
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.
Comment #1 by dlang-bugzilla — 2014-09-09T14:38:50Z