Re: pcntl_fork and reading from childs stdout
| From: | Marek Kilimajer | Date: | Sun, 12 Jun 2005 23:09:51 +0000 |
| Subject: | Re: pcntl_fork and reading from childs stdout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216872@lists.php.net to get a copy of this message | ||
Tom Fishwick wrote:
Hi All, I have a script that spawns off a bunch of children with pcntl_fork(), but I can't figure out how to connect up a pipe from the parent to each childs stdout and stdin. In c I would use pipe,close and dup... any ideas would be appreciated. (that don't involve using proc_open() :-) Tomhttp://www.php.net/popen