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: Sun, 28 Apr 2013 21:52:44 -0400
- Subject: Re: SIGINT not received by processes started by system(3)
- References: <CABWu70HAYUebOKEmqk1XP0qL1PBhj4bEzR9_D2sD8vG5knEuCg at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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