From: Robert Klemme Date: 2007-03-17T18:10:31+09:00 Subject: Re: Executing shell commands from Ruby... again. On 16.03.2007 23:37, Kevin Skrenes wrote: > It would seem that everything is working - the system method executes > and returns true, and if I print out the command, it's identical to what > was in my batch file, but the batch file creates the desired output, and > the system method creates nothing. The output of system goes to stdout. If you want to capture it the popen method is better. > Could it be an issue of each line hitting the shell before the previous > line has completed? No, normally not. Unless of course you tell the shell to put things into background. > I need to research Robert's IO.popen solution to > get a better grasp of what's happening there - perhaps that method is > more appropriate. Kind regards robert