I'm investigating if there is a way to programatically check if a certain process is running as a process (in the list of running exe's) AND as an open application (i.e on the taskbar) and take action based on the results.
Also - is there a way to programatically kill a process OR a running application?
We are running a WAMP application on this server so ideally i'd like a way to do this using PHP, but am open to whatever will work best.
Any advice?