Waynn Lue wrote:
>> > While this works, it unfortunately leaves behind a zombie process
>> > every single time.
>> You need to call pcntl_wait() or pcntl_waitpid().
> Right, but if I do that, then the parent has to wait until the child
> completes before it exits.
No it doesn't - just call pcntl_wait() with WNOHANG to check the status
of a child.
Per Jessen, Zürich (6.5°C)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php