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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -