From: "Hal E. Fulton" Date: 2001-03-22T13:54:45+09:00 Subject: [ruby-talk:13051] Re: How do I properly munge stdout and stderr when using IO.popen? ----- Original Message ----- From: Donald Sharp To: ruby-talk ML 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