From: Danny Challis Date: 2010-12-30T03:10:16+09:00 Subject: platform independent piped input stream from system call Hi all, I want to get an input stream from a system command in this manner: f = open("|ls") while( [not end of output] ) f.gets end but I would like it to be platform independent. The output of the command I'll be using is massive (hundreds of GB) so I cannot load to memory or write to a temp file. Is there a good platform-independent way to do this? Thanks! Danny. -- Posted via http://www.ruby-forum.com/.