I have a PHP website and I would like to execute a very long Python script in background (300 MB memory and 100 seconds). The process communication is done via database: when th
shell_exec returns a string, if you run it alone it won't produce any output, so you can write:
$output = shell_exec(...); print $output;