From: Bulat Ziganshin Date: 2002-12-19T15:18:34+09:00 Subject: Re: automating script for a command line utility Hello Shashank, Thursday, December 19, 2002, 8:14:31 AM, you wrote: SD> Per nobu's suggestion, this is what I did: SD> check = IO.popen("ruby c:/ruby/bin/irb.rb",'w+') SD> check.puts("STDOUT.sync = true") SD> But the program seemed to hang. you must exec "sync" at both sides :) add after first line check.sync = true i use this techinque to work with perl.exe and it really works -- Best regards, Bulat mailto:bulatz@integ.ru