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]

Avoid sending SIGINT to native child process?


Is there any way to prevent a SIGINT signal from propagating to a background child Windows process?

I'm trying to write a script to start a Java application server. I want the script to trap Ctrl-C and send the app server a command to shutdown cleanly, but it appears the Ctrl-C is immediately propagated to the Java process, even though the script traps it.

--
David Rothenberger  ----  daveroth@acm.org

Academy:
        A modern school where football is taught.
Institute:
        An archaic school where football is not taught.

--
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]