Justin Johnson wrote on 09/08/2007 15:05:36:

> > It still seems to me that stdout and stderr have something to do with 
my 
> > problem, since it always occurs when using backticks or even 
> > win32/popen3 methods that read from stdout and stderr, but never with 
> > system.  Anyone else have any ideas on this?
> 
> I should also point out that the exact same script never fails on UNIX.
> Maybe this is a Windows bug?  :-(

AFAIK Windows Ruby threads do not work properly when used in conjunction 
with external I/O. I think this is something to do with the Ruby and 
Windows select loops.

HTH


Alex.