This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Signals
- From: "John Buttitto" <johnboy at ziggybud dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 4 Jan 2006 11:25:27 -0700 (MST)
- Subject: Signals
- Reply-to: johnboy at ziggybud dot com
I wrote some simeple test code in Java to trap signals. Seems to work
well, I then ported it to cygwin. The code listens for the SIGINT and
prints a message. When I hit Ctrl-C while it is running the proper signal
gets sent and traped.
I then go to a second shell/Window and do a ps on the process running and
try to send a kill -s SIGINT <pid>. In cygwin this does not work the
process dies with out traping the signal.
Was wondering if anyone else ran into this and what silly thing I am doing
that causes the issue?
Thanks!
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/