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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -