+ 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

1st Apr 2019, 2:41 AM
Matias
Matias - avatar
1 Réponse
+ 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.
4th Apr 2019, 4:20 AM
Tibor Santa
Tibor Santa - avatar