From: Robert Klemme Date: 2007-02-17T02:15:10+09:00 Subject: Re: Pipes and STDERR On 16.02.2007 16:29, James Smith wrote: >> What exactly do you mean? Why is the pipe and stderr related? Are you >> talking about stderr of the Ruby process or of some child process? > > Sorry, not very well explained.. i need to capture stderr of the ruby > process and write it into the pipe Ah! Then I'd try this: STDERR.reopen(pipe) http://www.ruby-doc.org/core/classes/IO.html#M002301 Regards robert