Don't traceback on Ctrl+C

This commit is contained in:
Dan Williams 2006-05-19 12:57:56 -04:00
parent 6fd95df6b5
commit 825f1d205d

View File

@ -38,4 +38,7 @@ def start(console):
args.append('--console') args.append('--console')
os.spawnvp(os.P_NOWAIT, 'python', args) os.spawnvp(os.P_NOWAIT, 'python', args)
try:
gtk.main() gtk.main()
except KeyboardInterrupt:
pass