ctrl+C now kills scheduler too, issue 126, thanks Niphlod

This commit is contained in:
mdipierro committed 2012-06-25 14:18:20 -05:00
1 parent d8fd45d545
commit 9bc25ea9ff
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-06-25 14:14:39) dev Version 2.00.0 (2012-06-25 14:18:18) dev
+4 -1
View File
@@ -859,7 +859,10 @@ def start_schedulers(options):
for p in processes: for p in processes:
try: try:
p.join() p.join()
except KeyboardInterrupt: except (KeyboardInterrupt, SystemExit):
print "Processes stopped"
raise
except:
p.terminate() p.terminate()
p.join() p.join()