I' am calling sell script from my php code with
foreach ($some_array) {
shell_exec(nohup $code);
}
like above
I want all shell_exec
call to work independent from mail process which is php execution that we call shell script
But It's not working as I expected all shell_executions start right after previous one completed
So how can I make this shell_exec
calls as independent child process that they don't wait each others completation
Thanks in advance