----- 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