Hello Computer folks, I have a process "P1" that is ran using Runtime.getRuntime().exec() command. P1 spawns numerous child process "p's". When I kill P1 it disappears from the active process list using the "ps" command however its children are alive and well. How can I first identify the children spawned by "P1" and then proceed to kill them when the parent is killed??? Thank you, Diego
posted 14 years ago
Just to clarify the above...I use P1.destroy() to kill the process...thank you..