This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: More spawn & Windows processes
At 11:05 AM 12/27/2004 -0500, Christopher Faylor wrote:
>On Mon, Dec 27, 2004 at 10:51:58AM -0500, Pierre A. Humblet wrote:
>> should now be able to save microseconds by simply closing the pipe.
>
>Did you happen to notice that it *used* to be a CloseHandle?
Yes. I think you changed it in an attempt to make P_DETACH work.
The logical parent would read the 0 and declare that the
process chain was logically terminated, despite having the pipe
remain opened (by inheritance) in the detached process.
Now that the pipes are not inherited, the former method
should work just fine.
Pierre