subprocess.rb revision b66a6512eb6dea6cf5339eaa857a81d1b89cb4de
# 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
end