Detect is specific program is running

BlitzMax Forums/BlitzMax Programming/Detect is specific program is running

RifRaf(Posted 2010) [#1]
Is there an api call to check to see if a specific program is running or not?

What i would like to do is have a program that runs in the background and restarts a my game server if for any reason is gets shut down.


xlsior(Posted 2010) [#2]
Here's some code that can return the entire list of processes currently running on windows (and optionally kill specific ones)

Perhaps you can use it as a starting point?




RifRaf(Posted 2010) [#3]
Perhaps you can use it as a starting point?

sure can, thank you


BlitzSupport(Posted 2010) [#4]
There's also this:

Process Tree

It uses MaxGUI for the demo but the process-listing code should be fairly standalone.