From: Lee Hinman Date: 2009-07-15T04:55:18+09:00 Subject: Re: STDOUT On Tue, Jul 14, 2009 at 1:50 PM, Agustin Ramos wrote: > You only change the concatantio symbol by printing variables into the > string. > > I need to save the cmd output, the output of the script. > > So > With this > filesToExec.each { |file| >  system("ruby "+scriptFolder+"/"+file) # I need this output > } > I'm running the scripts, that's correct? or i have to do it in other > way? Using ` instead of " executes the command and returns a string of the output. Try this in irb: >> r = `echo "hi"` >> puts r and r should equal "hi\n" - Lee