> -----Original Message-----
> From: U.Nakamura [mailto:usa / garbagecollect.jp] 
> Sent: Wednesday, October 19, 2005 9:56 AM
> To: ruby-core / ruby-lang.org
> Subject: Re: IO.popen unreliable on win32
> 
> 
> Hello,
> 
> In message "[ ruby-Bugs-2672 ] IO.popen unreliable on win32"
>     on Oct.20,2005 00:44:04, <noreply / rubyforge.org> wrote:
> | IO.popen is unreliable on win32 because of a broken 
> implementation of 
> | _popen in a windows library being used by Ruby.  At least 
> this is what 
> | I assum eis the case, taken from Python popen documentation which 
> | states that _popen is broken and later versions of python don't use 
> | it.
> 
> Ruby on win32 does not use MSVCRT's _popen() yet.

I would hope it never does. From the MSDN docs:

"Note: The _popen function returns an invalid file handle, if used in a
Windows program, that will cause the program to hang indefinitely.
_popen works properly in a Console application."

So, it's only good for console apps - ouch.

Regards,

Dan