P paulinho1921 New member Mar 17, 2020 #1 I would like a PHP command to open an .exe that will be in the same folder as my application, and a PHP command to close the .exe
I would like a PHP command to open an .exe that will be in the same folder as my application, and a PHP command to close the .exe
gdgsupport Support Staff member Mar 24, 2020 #2 Here you have a good start: https://www.exeoutput.com/help/working-with-php/php-exec-system/ pclose(popen("start /B ". $cmd, “r”)); Closing a running EXE is not an easy task. If you are not the author of the EXE, you’ll have to kill the process. Last edited: Mar 25, 2020
Here you have a good start: https://www.exeoutput.com/help/working-with-php/php-exec-system/ pclose(popen("start /B ". $cmd, “r”)); Closing a running EXE is not an easy task. If you are not the author of the EXE, you’ll have to kill the process.