How to check if a process is running on Windows?
问题 What I am trying to do it is a program to know if a process it is active on Windows to work with it in Java . I looked on the Internet and found two different solutions: Option 1 Option 2 But it is not at all what I am looking for. According to the option 1, I would like a method to make reference to the process (and detect if it is active/running) but without searching in the full tasklist and then searching on it. I am searching if there is a direct method to do that. I also though to add a