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