shell exec - get PID of PHP file executed with shell_exec with continuous output -
I have a PHP script, which has a constant output (written on tmp file for logging). So far, I have started the correct script from Shell, but now, I would like to start it with shell_exec:
shell_exec ("file.php"> But Shell_XAC always gives space instead of PID.
Instead, see proc_open and proc_get_status .
Comments
Post a Comment