From: Sam Stephenson Date: 2005-11-07T09:33:22+09:00 Subject: Re: Lazy fun: Make unary minus silence stderr for backticks On 11/6/05, Sean O'Halpin wrote: > On 11/6/05, Sam Stephenson wrote: > > The way I'm silencing stderr is a bit, um, agile. Can it be made to > > work in Ruby on Windows without loading an external library (since > > open3 doesn't work there)? > > On Windows, you could use 2>nul: instead of 2> /dev/null or > win32-open3 (see http://raa.ruby-lang.org/project/win32-open3/) I knew about win32-open3 but not about 2>:nul. Thanks for the tip Sean! Sam