Hi Russell, the test code is:: #!/usr/bin/php <?php /* parent.php /ycrawl/dcrawl/run/yolo-master/parent.php test to see about the "&" background process */ print "start \n"; sleep(5); print "stop \n"; $t=posix_getpid(); //system("kill -9 ".$t); posix_kill($t, 9); exit(); ?> As you can see, there's nothing special about this. And yeah, when runs as foo.php & << it shows up in the procTBL as "T" in the status. There are no filedescriptors in the test. On Fri, Jun 6, 2014 at 1:48 PM, Russell Miller <duskglow@xxxxxxxxx> wrote: > > On Jun 6, 2014, at 10:44 AM, bruce <badouglas@xxxxxxxxx> wrote: >> >> My question, is how the heck can I implement something within the test >> foo.php to have it die/be removed from the procTBL when it dies.. > > If it's "stopped" that means it's not running, it's probably got an fd to the tty open > and is listening for input. Not designed to run in the background. > > "kill %1" might work to kill it. > > --Russell > -- > users mailing list > users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org