Skip to content

Instantly share code, notes, and snippets.

@pastak
Created March 26, 2010 12:37
Show Gist options
  • Save pastak/344839 to your computer and use it in GitHub Desktop.
Save pastak/344839 to your computer and use it in GitHub Desktop.
require("rubygems")
require("systemu")
systemu'C:\Program Files\Mozilla Firefox\firefox.exe' do|pid|
sleep 60
Process.kill 9, pid
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment