You are better reading the Daconta paper which Martin Vanyavchich quoted. The ProcessBuilder class introduced in Java5 makes it a bit easier by combining Streams, but the principles are unchanged from Daconta.
Joined: Mar 15, 2009
@Campbell Ritchie: Thanks. But can we destroy a process using ProcessBuilder class (without using Process class)? Please share a better way to it.