I am making a manager for my Online Game so that team members can start emulators.exe through the site, but I am having a problem, emulators open in the background (VPS)
Then I would like to know if you have how to do the emulators normally, opening the executable window and not staying in the background.
<?php
if($_POST['emulador'] == "Ligar")
{
exec("start D:\Servidor\Center\Gerenciador\ligar.bat");
echo "<script>alert('Emulador Ativado!');</script>";
}
?>