Re: pcntl_fork and reading from childs stdout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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()
:-)

Tom


http://www.php.net/popen

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux