Commit 606aafb4 authored by Chris Withers's avatar Chris Withers

Don't whine and barf when someone hits Ctrl-C during zopectl fg on Windows.

parent 8ec4a9fc
...@@ -308,6 +308,8 @@ class ZopeCmd(ZDCmd): ...@@ -308,6 +308,8 @@ class ZopeCmd(ZDCmd):
command = quote_command(program) command = quote_command(program)
try: try:
return os.system(command) return os.system(command)
except KeyboardInterrupt:
pass
finally: finally:
for addition in local_additions: program.remove(addition) for addition in local_additions: program.remove(addition)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment