Chris wrote:

>In article <3CC5CAAD.2090707 / imperitek.com>,
> David Corbin <dcorbin / imperitek.com> wrote:
>
>>I have a pipe.  I would like to read data ( preferably lines) from this 
>>pipe, as long as there is data (a line) availble.  I definatively do not 
>>wish to block on this.  What's "the ruby way" to do this?
>>
>
>handle = File::popen "some_pipe", "r"
>handle.readline
># or...
>handle.readlines
>
so readline doesn't block? If there is no line on the pipe, it returns 
immediately?