Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 152 Bytes
require 'open3'
module Open4
def self.popen4(*cmd, &block)
Open3.popen3(*cmd) do |i, o, e, t|
block.call(i, o, e, t.pid)
end
end
end