From: Lee Hinman Date: 2009-07-15T04:28:26+09:00 Subject: Re: STDOUT On Tue, Jul 14, 2009 at 1:23 PM, Agustin Ramos wrote: > Chris Dempsey wrote: >> You're looking for something like >> >> puts "ruby #{scriptFolder}/#{file}" > > Nono, the scripts that i'm running print in the screen "Testo Ok" or > "Test Fail" > i need to save these output in a TXT file. > > Thanks!! If you only need to save a single line, you can do this: results = `ruby #{scriptFolder}/#{file}` If you need to be looking at multiple lines, you should check out IO.popen - Lee