Forum: Ruby Help on nonblocking read & write with popen4

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E97b2ccd5fabbb77568d2a093f080656?d=identicon&s=25 Mohammed Gad (masgad)
on 2008-10-31 16:59
Hi all,
Any hint on using popen4 for alternate reading and writing to a pipe?
Especially, how to avoid blocking on reading from stdout,stderr.
An example will be much appreciated.

Thanx in advance,
This topic is locked and can not be replied to.