[Win32utils-devel] win32-open3: crashesafter 170 popen3 operations
Daniel.Berger at qwest.com
Mon Jun 2 09:50:53 EDT 2008
> Distilled to it's essence, I think this snippet shows the problem:
> require "win32/open3"
> i = 1
> while (i<200)
> Open3.popen3("dir") do |stdin, stdout, stderr|
> e = stdout.readlines
> puts i
> i += 1
> C:\Documents and Settings\me>ruby goober.rb
> ... etc ...
> goober.rb:6:in `readlines': closed stream (IOError)
> from goober.rb:6
> from goober.rb:5:in `popen3'
> from goober.rb:5
FYI, this was fixed in CVS and 0.2.6 was released this weekend. Thanks
go to Park for the patch.
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
More information about the win32utils-devel