# 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
status = $?.exitstatus
if status != 0
end
end
h
end
end
end