From: James Edward Gray II Date: 2005-08-15T23:09:26+09:00 Subject: Re: Another Newbie question On Aug 15, 2005, at 9:06 AM, LenS wrote: > I am running Ruby 1.8.2 on a XP machine. I have several programs > (executables) which convert text files to a special file format. I > would like to have these programs run from within a ruby script and > check the return code. > > In general how would you call the foo.exe program in ruby and check > return code. You're looking for the Kernel.system() method. Hope that helps. James Edward Gray II