This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SIGINT not received by processes started by system(3)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]