On Saturday, 25 November 2017 at 02:32:17 UTC, Fra Mecca wrote:
I have noticed that whenever j contains a string with a space
in it, spawnprocess splits the string into another argument.
That shouldn't happen.
If you are on Windows, note that processes do not see the command
line as an array
I have this snipper of code:
auto pid = spawnProcess([exe, j], po.readEnd, pi.writeEnd,
std.stdio.stderr);
where exe is the executable name and j is argv[1].
I have noticed that whenever j contains a string with a space in
it, spawnprocess splits the string into another argument.
In this w