Skip to content

Instantly share code, notes, and snippets.

@pikajude
Created March 25, 2012 22:42
Show Gist options
  • Save pikajude/2200500 to your computer and use it in GitHub Desktop.
Save pikajude/2200500 to your computer and use it in GitHub Desktop.
begin
exec("rm", "bogus.txt")
rescue SystemCallError
p $!
puts "still here" # never printed
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment