Skip to content

Instantly share code, notes, and snippets.

@katsyoshi
Created October 5, 2015 09:22
Show Gist options
  • Save katsyoshi/5a984ec07d1cfaddb2b0 to your computer and use it in GitHub Desktop.
Save katsyoshi/5a984ec07d1cfaddb2b0 to your computer and use it in GitHub Desktop.
mac で死ぬんだが?
Signal.trap("USR1") { puts "hoge" }
Process.kill("USR1", 0)
Process.kill(10, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment