From: nobu.nokada@... Date: 2002-12-19T13:43:24+09:00 Subject: Re: automating script for a command line utility Hi, At Thu, 19 Dec 2002 13:14:07 +0900, Shashank Date wrote: > Is there a way to check.puts each command and then immediately read the > lines of output ? Try to send "STDOUT.sync = true" line first. This is because the child process buffers stdout. In many UNIX, using pseudo TTY tells processes to not buffer output, but Windows has no this feature or similar. I remember I wrote about this, regarding cygwin and DOS prompt issue. > I think IO#popen3 might do this, but it is not available on Windows. Correct, but impossible as OS doesn't support it. -- Nobu Nakada