I have a GUI with php, html, css, js and this site is on a local server.
I would like when I click on a button to open a cmd on the local server to open a cmd and launch a command.
I have already succeeded in doing it but the problem is that the command I want to use is sass --watch
and as I said before the cmd does not launch.
I can already do an
$output = shell_exec('dir');
echo $output;
which is already good news, however, do
shell_exec('sass --watch ... ...')
do not work