Reputation: 47
I am using PHP Desktop to turn my web app into "desktop app". Is it possible and if it is how can I execute multiple .bat or .exe files after executing the main .exe file? Also is it possible to execute .bat or .exe file with button using JavaScript?
Upvotes: -1
Views: 204
Reputation: 20675
You can use PHP functions like system() to execute any command.
There is also a "nircmd" tool that has many options including options to execute programs asynchronously. See:
If you want to execute program with js then just make an AJAX call to a PHP script.
Upvotes: 0