SIGINT not received by processes started by system(3)

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed May 1 00:34:00 GMT 2013


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



More information about the Cygwin mailing list