You are here: pcntl_fork and reading from childs stdout « PHP « IT news, forums, messages
pcntl_fork and reading from childs stdout

Posted by "Tom Fishwick" on 06/12/05 22:57

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация