Skip to content
Advertisement

Tag: background-process

Start background processes from a background process

I have a PHP script say test.php in linux Ubuntu, in this PHP script I use shell_exec() to start several background processes. When I execute php test.php, the background processes are started as expected, but when I run php test.php &, those several background processes are not started. Is it not a supported way to start background processes from a

Advertisement