![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hi Anand, I would like know how to kill the exe process running which is started by process.runtime.exec. The process.runtime.destroy method does dismantle the process object, but the subprocess is still running. I have check this by putting the subprocess in contineous while loop. Please advice. Thanks in advance, Alik
> > I wanted to know whether a process (any .exe file)is running and if it does, then I would like to destroy it. I know how to start a process using the Runtime.getRuntime.exec("someexe.exe"). But how do I find out if "someexe.exe" is running and then kill/destroy it. Thanks in advance. > > Anand
Replies:
|
Sponsored Links
|