Don't traceback on Ctrl+C
This commit is contained in:
parent
6fd95df6b5
commit
825f1d205d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user