Displaying 1 result from an estimated 1 matches for "cmd_err".
Did you mean:
cmd_eol
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
...: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we should allow win32-open3''s methods to take a block in the way that the Unix open3 module works, e.g.
Open3.popen3(cmd){ |cmd_in, cmd_out, cmd_err|
# ...
}
Each pipe should be closed via ensure as open3.rb does. This keeps the API compatible with the current Ruby API, and is probably a better way to use the module in general (since the pipes are guaranteed to be closed at the end of the block).
Regards,
Dan
---------------------------...