From: Chad Fowler Date: 2003-02-01T01:47:08+09:00 Subject: Re: Broken pipe (Errno::EPIPE) On Fri, 31 Jan 2003, Robert Feldt wrote: > Hi, > > A little strange situation: > > I have a ruby app which renames a bunch of files using File.rename. When I > run it in debug mode (with "-r debug") and steps through it it works > without problems but when I run it normally or when packed up as an exe > with exerb I get > > script.rb:778:in `rename': Broken pipe - "file.ext" (Errno::EPIPE) > > after a couple of files have been renamed. > > Anyone knows what can cause this behavior? > I'm not seeing anything in Ruby that would cause this. rb_file_s_rename doesn't provide many opportunities taht I can see. I wonder if this could be a problem with mingw32/cygwin. Any other special characteristics of this program? Multithreaded, etc? Chad