Name: rmT116609 Date: 08/28/2003
A DESCRIPTION OF THE REQUEST :
There is no way to send a UNIX signal to a spawned process.
We are happy with taking the Process object and casting it to a UNIXProcess (in unix-specific code) and using JNI to actually do the signal firing, but even this is not possible as the pid field is private to UNIXProcess.
Could please make the useful fields non-private or supply accessor methods.
JUSTIFICATION :
The ability to send signals to processes is very useful. We recognise the fact that we are doing non-"Java" programming but at times this is what is required. The JDK should not stop us from doing what we want, but make it possible.
(Incident Review ID: 199560)
======================================================================
- relates to
-
JDK-8087286 Need a way to handle control-C and possibly some other signals
- Open