background process - procTBL
| From: | bruce | Date: | Fri, 06 Jun 2014 15:01:39 +0000 |
| Subject: | background process - procTBL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323397@lists.php.net to get a copy of this message | ||
HI.
A test foo.php runs from the cmd line, it appears in the procTBL, and
then dies off, and is removed from the procTBL.
However, if the test -- foo.php & is run, it runs in the background,
but then shows "Stopped" and in the procTBL the foo.php is listed in
the procTBL as "T" or stopped...
For the case of running foo.php & -- the foo.php is permanently listed
as "T" (stopped) in the procTBL.
Is there anyway of creating/running a php/background process so that
when it dies, it does a suicide/self kill process and removes itself
from the procTBL..
thanks