This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SIGINT not received by processes started by system(3)
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 30 Apr 2013 20:34:36 -0400
- Subject: Re: SIGINT not received by processes started by system(3)
- References: <CABWu70HAYUebOKEmqk1XP0qL1PBhj4bEzR9_D2sD8vG5knEuCg at mail dot gmail dot com> <20130429015244 dot GC6560 at ednor dot casa dot cgf dot cx>
- Reply-to: cygwin at cygwin dot com
On Sun, Apr 28, 2013 at 09:52:44PM -0400, Christopher Faylor wrote:
>On Sun, Apr 28, 2013 at 06:29:24PM -0500, Daniel R. Grayson wrote:
>>If I compile and run the program
>>
>> #include <stdlib.h>
>> main () {
>> system ("sleep 1001");
>> return 0;
>> }
>>
>>then I expect it to terminate if I execute the shell command
>>
>> killall -2 sleep
>>
>>elsewhere, but it doesn't.
>>
>>I searched the archives and couldn't find this mentioned.
>>
>>Has anyone else run into this?
>
>Looks like a long-standing bug.
>
>I'll check in a fix shortly.
Fix checked in. I'm generating a new snapshot now:
http://cygwin.com/snapshots/
Please confirm or deny that this is actually fixed.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple