From: Holden Glova Date: 2000-12-30T07:51:18+09:00 Subject: [ruby-talk:8308] Re: $stderr redirection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 30 Dec 2000 03:40, I think Dave Thomas wrote: > Holden Glova writes: > > How would I go about redirecting $stderr in a platform independent > > fashion? > > You could have a look at the open3 library. > Would you not recommend just redirecting it within the backquotes, i.e. 2>&1 ? I thought this made sense, because i want stderr within the subprocess to be redirected, thus keeping the redirection as part of the sub process seemed to fit together. I'm not sure if you can redirect like that in windows though? - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6TRTrzrxa+Gy/b/4RApLdAKCXBChfY9CZf7lVAQfUsXEjh0dJFACfRuaQ tIQtj4N4ZKw+DhFNbP8/K8w= =qt8L -----END PGP SIGNATURE-----