
Boris Schaeling wrote:
On Fri, 21 Jan 2011 08:21:56 +0100, vicente.botet <vicente.botet@wanadoo.fr> wrote: ...
[...]
Well, you might not have access to the source code for example and can't make the child process change the working directory.
This is too specific to be included in a Process library.
I find this a very subjective argument. If we leave everything out someone finds too specific there is probably nothing left. :-)
A more tangible argument is that the working directory must be set to the location of the to-be-exec'd executable for Mac OSX to properly launch a child process. It would be difficult to have the calling application change the directory and change it back as currently the posix fork/exec paradigm is not synchronous. Jeff