Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
606aafb4
Commit
606aafb4
authored
Oct 30, 2009
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't whine and barf when someone hits Ctrl-C during zopectl fg on Windows.
parent
8ec4a9fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/Zope2/Startup/zopectl.py
src/Zope2/Startup/zopectl.py
+2
-0
No files found.
src/Zope2/Startup/zopectl.py
View file @
606aafb4
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment