Problem with fork/exec/setsid/fgets (was: cygwin_attach_handle_to_fd())

Christopher Faylor
Sat Jun 16 10:10:00 GMT 2001

On Tue, Jun 05, 2001 at 09:51:08AM -0600, Craig Nelson wrote:
>I reduced my code to the smallest program possible with the same
>functionality.  here is the test case: A program which uses fork(),
>exec(), AND fgets() and setsid(), will hang after two children have
>been produced.

Thanks for the test case.  There were indeed a problems with
fork/exec/setsid/kill.  I've checked in a patch which, I hope,
will rectify all of them.  I've started a snapshot, so this new
version should be available today.


Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list