A little help. I have the following code.
$output = shell_exec("php /sites/empresa/php/faturamento/gerar_fat_simulado.php ".$cliente.' '.$mes.' '.$ano.' '.$tipo);
It runs through the shell a rather time-consuming routine that locks the entire system until it completes. I know PHP does not work with Threads. Is there any way to prevent this from blocking the rest of the system? Thank you.