Re: Handles to unix executables exec'd with CreateProcess()

2006-04-30 Thread Eric Pouech
Thomas Kho wrote: It seems that it is not currently possible to get the exit code of a unix program executed with _wspawnv(_P_WAIT, [unix app], [args]) because CreateProcess() does not return a handle to the new process. _wspawnv() uses the handle to WaitForSingleObject() the end of execution and

Handles to unix executables exec'd with CreateProcess()

2006-04-29 Thread Thomas Kho
It seems that it is not currently possible to get the exit code of a unix program executed with _wspawnv(_P_WAIT, [unix app], [args]) because CreateProcess() does not return a handle to the new process. _wspawnv() uses the handle to WaitForSingleObject() the end of execution and also needs it to G