[Issue 10863] [Win] executeShell() fails with spaces in cmd paths, unlike old shell()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 4 22:09:01 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=10863
--- Comment #1 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2014-02-04 22:08:55 PST ---
Note that it also fails on windows when using escapeShellCommand (regardless of
whether shell or executeShell is used):
-------------------------
import std.process;
import std.stdio;
void main()
{
// Both fail
writeln( shell(escapeShellCommand("path with spaces\tool.exe")) );
writeln( executeShell(escapeShellCommand("path with
spaces\tool.exe")).output );
}
-------------------------
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list