SIGINT not received by processes started by system(3)

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Apr 29 14:41:00 GMT 2013


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.

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