Ctrl+C not working with windows programs in Cygwin 1.7.16
K Stahl
kdstahl@gmail.com
Fri Aug 3 14:01:00 GMT 2012
OK, I've found my example on how to resolve this issue:
Create a bash shell script and do the following:
#!/bin/bash
# Change the following to suit your application needs.
java -cp <your_classpath> <java_opts> path.to.main.line &
function finalize() {
echo 'Terminating Application'
kill 0
}
trap finalize SIGINT
wait
--
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