Problem with escaping commands in spawProcess().

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Apr 13 16:04:02 PDT 2014


On Friday, 7 March 2014 at 09:26:27 UTC, Cooler wrote:
> import std.process;
>
> int main(string[]){
>   // Next line will generate error message from cmd.exe
>   spawnProcess(["cmd.exe", "/C", "echo"]).wait();
>   return 0;
> }

I'm not sure, but maybe file a bug so this gets some attention:

https://issues.dlang.org/enter_bug.cgi?product=D


More information about the Digitalmars-d-learn mailing list