Skip to content

Instantly share code, notes, and snippets.

@stepancheg
Created September 10, 2012 15:41
Show Gist options
  • Save stepancheg/3691631 to your computer and use it in GitHub Desktop.
Save stepancheg/3691631 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys
import threading
import os
class MyThread(threading.Thread):
def run(self):
sys.exit(1)
t = MyThread()
t.start()
t.join()
# vim: set ts=4 sw=4 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment