PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is there a function out there which would allow you to 1. Shut down a program, and 2. Start up a program? I basically need this to allow people running a game I am hosting to reboot the program in case it crashes. I had little luck finding such a thing over the internet. For Windows BTW.
system("pskill <programname>"); works for shutting it down. Pskill kills processes.
But starting it up, it seems like it runs if I do: system("\folder\file.exe");
it even shows up when I check Task Messenger, but it never goes through, and the program never shows up on the Taskbar or anywhere else.