This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with fork/exec/setsid/fgets (was: cygwin_attach_handle_to_fd())
- To: cygwin at cygwin dot com
- Subject: Re: Problem with fork/exec/setsid/fgets (was: cygwin_attach_handle_to_fd())
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Sat, 16 Jun 2001 13:11:24 -0400
- References: <3B0C35D4.5B3849D0@reversion.ca> <20010523192540.A15862@redhat.com> <3B0D265D.B4F896FF@reversion.ca> <20010524142606.D8694@redhat.com> <3B1CFFEC.19AD43A4@reversion.ca>
- Reply-To: cygwin at cygwin dot com
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.
cgf
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple