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.

Thanks 
Len Sumnler