signal SIGINT in JAVA?
Hi,
I must manage SIGINT signal from a Java program. I'm using Jdk 1.6 and I'm searching in API but I dont find nothing about it.
I have two question about it:
1. How can I manage an user cntrl-C key-pressed in my program? (in Windows and in Linux).
2. And, how I send a SIGINT signal to another application that I called before using Runtime.getRuntime().exec("process")? (in Linux)
I dont want to kill it, I only want to send SIGINT because these application have a SIGINT handler (it are C applications in Linux).
How can I do both things using Java?
Thanks in advance.

