Killing a process using Java

I would like to know how to “kill” a process that has started up. I am aware of the Process API, but I am not sure, If I can use that to “kill” an already running process, such as firefox.exe etc. If …

Make parent wait for all child processes

I’m hoping someone could shed some light on how to make the parent wait for ALL child processes to finish before continuing after the fork. I have cleanup code which I want to run but the child …