Re: ruby tail

Wow thats really cool!!!

----- Original Message ----
From: Alex Y. [email protected]
To: ruby-talk ML [email protected]
Sent: Thursday, February 22, 2007 1:59:39 AM
Subject: Re: ruby tail

Kevin J. wrote:

offer a solution - perhaps using threads or something
Use IO.popen:

IO.popen(‘tail -f sim.out’){|f|
while line = f.gets
p line


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs