I need to make a PHP script that runs a program on the server, but the page does not stop loading, it's like waiting for the process to finish.
I've been in services.msc and I put the apache process in order to interact with my desktop, however it goes to another session, as if it were not mine.
My code is as follows:
<?php
exec('C:\teste.exe');
?>