Skip to content

Instantly share code, notes, and snippets.

@saikat
Created February 17, 2010 06:20
Show Gist options
  • Select an option

  • Save saikat/306364 to your computer and use it in GitHub Desktop.

Select an option

Save saikat/306364 to your computer and use it in GitHub Desktop.
def process_job(sys_args):
print 'here'
app = QtGui.QApplication(sys_args)
print 'and here'
def main():
p = Process(target=process_job, args=(sys.argv,))
p.start()
p.join()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment