How to check if some .exe program is running (is in process) on Windows?
I\'m making java application which update one .exe program. So, if that exe program is used
Just a suggestion for users of Java 9 or higher.
It's even operating system independent:
Interface ProcessHandle
static Stream allProcesses()
More details at:
https://docs.oracle.com/javase/9/docs/api/java/lang/ProcessHandle.html