+ 1
How can I stop any external windows' process with java ?
Hi, Im not a native english speaker, so if I make any mistake Im sorry :), anyway, I was just wondering how to stop external processes with java, it would be really usefull
1 Answer
+ 3
There are some ways to do it here:
https://stackoverflow.com/questions/81902/how-to-find-and-kill-running-win-processes-from-within-java
They rely on windows' own system tool 'taskkill' and java.lang.Runtime.exec() to invoke it from a java program.