lib/rbbt/util/cmd.rb in rbbt-util-5.10.1 vs lib/rbbt/util/cmd.rb in rbbt-util-5.10.2
- old
+ new
@@ -122,10 +122,10 @@
cmd << " " << cmd_options
end
in_content = StringIO.new in_content if String === in_content
- sout, serr, sin = IO.pipe, IO.pipe, IO.pipe
+ sout, serr, sin = Misc.pipe, Misc.pipe, Misc.pipe
pid = fork {
begin
sin.last.close
sout.first.close