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?
Asked
Active
Viewed 175 times
-1
-
1Question is unclear to me... Could you please give more information about your application and its execution context? – NonoxX May 16 '18 at 10:13
1 Answers
0
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.

Czarek Tomczak
- 20,079
- 5
- 49
- 56