subprocess.rb revision 9a2bd735c2709ed8dd2a5e551a5a38e14c989440
# A wrapper for IO.popen that returns the combined stdout and stderr.
# An exception is thrown if the subprocess exists with non-zero.
super "Subprocess #{args.inspect} exited with status #{status}:\n#{output}"
end
end
# Runs a command
# The optional hash contains environment variables
end
status = $?.exitstatus
if status != 0
end
end
h
end
return hash
end
end