From: Sky Yin Date: 2005-12-04T16:31:32+09:00 Subject: Re: Shell program Thanks, Bill. The yet another ruby shortcut works. On 12/4/05, Bill Kelly wrote: > From: "Sky Yin" > > > > I'm using system() to execute a shell program under Windows. I wonder > > how I can get the result of the external program as a string, since > > the system() returns either true or false. > > string = `program.exe` > > > (See also: IO.popen for another way.) > > > Hope this helps, > > Bill > > > >