Skip to content

Instantly share code, notes, and snippets.

@apeiros
Created October 19, 2010 12:01
Show Gist options
  • Save apeiros/634082 to your computer and use it in GitHub Desktop.
Save apeiros/634082 to your computer and use it in GitHub Desktop.
Terminate current process the hard way (kill -9)
module Kernel
# Terminate the current process - the hard way
def t!
`kill -9 #{$$}`
end
module_function :t!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment