From: Anatol Pomozov Date: 2006-08-14T05:09:19+09:00 Subject: Re: stderr capture on Windows Sard Aukary wrote: > Anatol Pomozov wrote: >> See solution here >> http://blog.pomozov.info/posts/capturing-stderr-on-ruby.html > > Well that gives me another cryptic error > > "The handle could not be duplicated during redirection of handle 1" :D Try to put following line to separate script and run puts `dir 2>&1` what do you see? If everything is OK then problem in you main script. Try to check that you do not copy or replace STDOUT. -- Posted via http://www.ruby-forum.com/.