[Win32utils-devel] [ win32utils-Bugs-25155 ] win32-open3 always returns nil in block form
noreply at rubyforge.org
noreply at rubyforge.org
Fri Apr 3 15:02:49 EDT 2009
Bugs item #25155, was opened at 2009-04-03 12:02
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=25155&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: win32-open3 always returns nil in block form
Initial Comment:
Hi,
On Unix the following code returns 1. On Windows the block form appears to always return nil.
cmd = File::ALT_SEPARATOR ? 'dir' : 'ls'
rv = Open3.popen3(cmd) do |stdin, stdout, stderr|
1
end
puts "RV: #{rv}" # 1 on Unix, nil on Windows
Regards,
Dan
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=25155&group_id=85
More information about the win32utils-devel
mailing list