I have a script I'm trying to launch with
php ./Script.php &
The task goes into the background but it is stopped. When I try to run it with bg it simply stays stopped.
$ jobs + Stopped php ./Script.php $ bg + php ./Script.php & + Stopped php ./Script.php $
ps shows the job state as T
$ ps ax | grep Script 951 pts/5 T 0:00 php ./Script.php
cat /proc/PID/wchan shows "pipe_wait"
This happens with any PHP script, even
Thanks for all the great answers and comments. I understand why this is happening on a technical level now, but I'm not sure what about some versions of PHP are causing this. But, that is not a *nix question.