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

sql - Return Function using Cursor -

javascript - Is there any way to add a new parameter to a function programmatically? -

sql server - How to use pivot in this table -