Ticket #858 (closed defect: fixed)
run-program arguments on Windows
|Reported by:||rme||Owned by:||gb|
Description (last modified by rme) (diff)
On Windows, one creates a new process with CreateProcess, which accepts a string parameter that contains the command line for the newly created process.
In the newly created process, C runtime code then parses this string and constructs argc and argv. The rules used to do this are described by http://msdn.microsoft.com/en-us/library/a1y7w461.aspx.
We need to apply the inverse of those rules to the command and arguments given to run-program so that the the newly created process sees the same argv that the user provided to run-program.
Currently, we just join the all the argument strings together with #\space and call it a day.
comment:10 Changed 5 years ago by fare
- Status changed from closed to reopened
- Resolution fixed deleted