Created — forked from thbar/system_bang.rb

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Please don't use ruby 'system' without checking exit code

View system_bang.rb
1 2 3 4 5
module Kernel
def system!(command)
raise "Failed to launch command #{command}" unless system(command)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.