[Issue 12722] executeShell incorrectly handling escaped quotes
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri May 9 17:58:41 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12722
--- Comment #2 from Josh <moonburntm at gmail.com> ---
It seems that executeShell("echo \"quoted statement 1\" \"quoted statement 1\"
\"quoted statement 3\"").output returns
"quoted statement 1" "quoted statement 1" "quoted statement 3
whereas executeShell("echo \"quoted statement 1\" \"quoted statement 1\"
\"quoted statement 3\"\"").output returns
"quoted statement 1" "quoted statement 1" "quoted statement 3"
So it's only the last one that doesn't escape properly.
--
More information about the Digitalmars-d-bugs
mailing list