From: Thomas Luedeke Date: 2013-05-15T07:38:56+09:00 Subject: Slow reading output from Open3.popen3?? I've never tried using this function before, but I am now using as part of a code compilation build script (using 'make' on UNIX). It looks something like this: ================================== stdin, stdout, stderr = Open3.popen3( 'make codename' ) stdin.close puts "Reading STDOUT" outfile.puts stdout.read stdout.close ================================== I'm trying to get the output from the 'make' command (which is quite large), so I can dump it to a file for later diagnostics. However, when it gets to the stdout.read, it seems to hang (or at least take so long I've never seen it finish). Any thoughts on why this is happening? Is there a better approach for me to try? Thanks in advance. -- Posted via http://www.ruby-forum.com/.