php shell_exec don't wait for output code example
Example: php exec without waiting
"> /dev/null 2>/dev/null &"
shell_exec('your_command > /dev/null 2>/dev/null &');
"> /dev/null 2>/dev/null &"
shell_exec('your_command > /dev/null 2>/dev/null &');