[Checkins] SVN: Zope/branches/2.12/src/Zope2/Startup/zopectl.py Don't whine and barf when someone hits Ctrl-C during zopectl fg on Windows.

Chris Withers chris at simplistix.co.uk
Fri Oct 30 14:29:22 EDT 2009


Log message for revision 105395:
  Don't whine and barf when someone hits Ctrl-C during zopectl fg on Windows.

Changed:
  U   Zope/branches/2.12/src/Zope2/Startup/zopectl.py

-=-
Modified: Zope/branches/2.12/src/Zope2/Startup/zopectl.py
===================================================================
--- Zope/branches/2.12/src/Zope2/Startup/zopectl.py	2009-10-30 18:26:59 UTC (rev 105394)
+++ Zope/branches/2.12/src/Zope2/Startup/zopectl.py	2009-10-30 18:29:22 UTC (rev 105395)
@@ -308,6 +308,8 @@
         command = quote_command(program)
         try:
             return os.system(command)
+        except KeyboardInterrupt:
+            pass
         finally:
             for addition in local_additions: program.remove(addition)
             



More information about the checkins mailing list