From: Glenn Jackman Date: 2009-07-15T05:35:10+09:00 Subject: Re: STDOUT At 2009-07-14 03:55PM, "Lee Hinman" wrote: > On Tue, Jul 14, 2009 at 1:50 PM, Agustin Ramos wrote: [...] > > 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. Or use %x{} to stand out visually: output = %x{ruby #{scriptFolder}/#{file}} -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous