From: Paul Winward Date: 2008-05-13T02:00:50+09:00 Subject: Re: capture output in real time Thanks for the pointers. I wasn't aware of setvbuf. I'll look more into pty. ara.t.howard wrote: > On May 10, 2008, at 12:08 AM, Paul Winward wrote: >> Thanks for the suggestion but I'm still having the problem. > > if the child program makes a call to setvbuf (as ruby does) there is > little you can do to alter this behaviour. otherwise the 'normal' > approach will work: > -- Posted via http://www.ruby-forum.com/.