From: Robert Klemme Date: 2010-06-07T17:12:09+09:00 Subject: Re: redirecting stdin for 3. party program 2010/6/3 Thomas Secret : > Thank you thank you thank you :-) > > Buffering by mawk simply wasn't something that crossed my mind at all. > With your ruby line it walks flawlessly. > > For anyone interested: mawk needs the Option "-W interactive" do process > input as it arrives... > > And I dumbly and persistently searched for the problem on the ruby > side... Thomas, why do you use IO.pipe and fork instead of IO.popen or Open3.popen3? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/