Forum: Ruby Help on nonblocking read & write with popen4

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Mohammed G. (Guest)
on 2008-10-31 17: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,
Masgad
This topic is locked and can not be replied to.