From: Chris Dempsey Date: 2009-07-15T03:44:27+09:00 Subject: Re: STDOUT --0016e644d504e57680046eaed3c6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit You're looking for something like puts "ruby #{scriptFolder}/#{file}" On Tue, Jul 14, 2009 at 1:36 PM, Agustin Ramos wrote: > Hi! I'm developing an application, that needs to execute some ruby > files, and log the output in a txt file. > The problem that i have is that i can't take this output. > > Here is a piece of code: > > filesToExec.each { |file| > system("ruby "+scriptFolder+"/"+file) # I need this output > } > > Thanks a lot! > -- > Posted via http://www.ruby-forum.com/. > > --0016e644d504e57680046eaed3c6--