RE: [PHP] killing a child process from pcntl_exec
| From: | bruce | Date: | Thu, 22 Jan 2009 18:45:22 +0000 |
| Subject: | RE: [PHP] killing a child process from pcntl_exec | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287021@lists.php.net to get a copy of this message | ||
i'm pretty sure that's not the issue...
i should be able to spawn/fork any kind of external app/process... "kill -9
pid", especially if done as root, should terminate the process...
i suspect that the issue has to do with zombie processes, and how
php/pnctl_exec/etc.. operates.
-----Original Message-----
From: ceo@l-i-e.com [mailto:ceo@l-i-e.com]
Sent: Thursday, January 22, 2009 10:00 AM
To: php-general@lists.php.net
Subject: Re: [PHP] killing a child process from pcntl_exec
There are functions/settings in pcntl docs about how to "listen" for
specific signals.
If you don't listen for -9, maybe you don't get it.
http://php.net/manual/en/function.pcntl-signal.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php