[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to monitor wget command progress in ruby?

Joao Silva

2/9/2009 12:03:00 AM

Hello! I currently developing rails application but it's more
ruby-specyfic question. I have background process launched in starling.
All aplication work is a downloading large files in background. I use
wget to do this. At current i launching simple

system('wget file etc')

But i need to monitor this progress. Wget produces output like this
durning downloading:

100%[======================================>] 30 241 120K/s in
0,2s

How i can read this?
--
Posted via http://www.ruby-....