I appended 2>&1 to the endo of the cleartool line.  Once I 
did that it worked.  I can attach the module if people are interested...

donald
On Thu, Mar 22, 2001 at 01:54:45PM +0900, Hal E. Fulton wrote:
> ----- Original Message -----
> From: Donald Sharp <sharpd / cisco.com>
> To: ruby-talk ML <ruby-talk / ruby-lang.org>
> Sent: Wednesday, March 21, 2001 8:00 AM
> Subject: [ruby-talk:13036] Re: How do I properly munge stdout and stderr
> when using IO.popen?
> 
> 
> > I can't force the end user to choose a particular shell.
> >
> > I am thinking about using the open3 module( I just searched in the
> > archives ) but would still like to munge the output would
> > something like this work:
> >
> > write, read, err = open3( "/usr/atria/bin/cleartool"... )
> >
> > err.reopen( read )
> >
> > Thanks!
> >
> > donald
> 
> This doesn't work... other people have suggested viable options,
> but I'm still considering how to do it without mucking around
> inside the double quotes. (Just as a matter of curiosity.)
> 
> Let us know what you find.
> 
> Thanks,
> Hal
> 
> 
>