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!
It looks to me like your code to execute should work. I set a small test script up on my localhost with a batch file to make sure. So if your batch file isn't executing I don't think I would be able to help without more information about what you're trying to do.
Killing a running process in PHP can get a little more complicated. You might want to start by checking the PHP docs for functions like proc_open(), proc_terminate(), proc_get_status(), etc.
It looks to me like your code to execute should work. I set a small test script up on my localhost with a batch file to make sure. So if your batch file isn't executing I don't think I would be able to help without more information about what you're trying to do.
Killing a running process in PHP can get a little more complicated. You might want to start by checking the PHP docs for functions like proc_open(), proc_terminate(), proc_get_status(), etc.
hi,
you can't. once you call with that command its off and running. termination relies upon termination code in the called script to terminate and return back to the function pointer.