shell_exec() Does Not return immediately When Executing a nohup in Background
I’m executing an exec using nohup in the background using the PHP shell_exec function. It looks like it is waiting for the executed command to finish instead of returning immediately.