I've been trying recently to allow the Staff of a game I am working on to reboot the program remotely while the program is down. First of all, the game is on Windows XP. I installed pskill which closes a process, and made a web link which leads to that and it works fine. However, sometimes when the program crashes it brings up a window that asks to either cancell or log on to the debugger, and it will interfere with closing the process. Any suggestions on that?
I also had alot of trouble with getting system() or exec() to start up the process again. Every time I tried to use either, PHP would hang. I hear that you can pipe the output or whatnot to a file which will allow PHP to not hang? Though I also here that exec() does not even produce output. I'm completely lost here and would appreciate any help with this
Lastly I remember someone posting saying that Windows XP provides a way for people to remotely shutdown and restart a process. If anyone knows anything more about that, I'd be extremely gratefull.
Thank you,
Zorth.