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
347ad0c7
Commit
347ad0c7
authored
Jul 19, 2009
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added potential entry point
parent
d4b45764
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/Zope2/Startup/zopectl.py
src/Zope2/Startup/zopectl.py
+4
-2
No files found.
src/Zope2/Startup/zopectl.py
View file @
347ad0c7
...
...
@@ -322,8 +322,7 @@ def _ignoreSIGCHLD(*unused):
try
:
os
.
waitpid
(
-
1
,
os
.
WNOHANG
)
except
OSError
:
break
if
__name__
==
"__main__"
:
def
run
():
# we don't care to be notified of our childrens' exit statuses.
# this prevents zombie processes from cluttering up the process
# table when zopectl start/stop is used interactively.
...
...
@@ -347,3 +346,6 @@ if __name__ == "__main__":
signal
.
signal
(
signal
.
SIGCHLD
,
_ignoreSIGCHLD
)
exitstatus
=
main
()
sys
.
exit
(
exitstatus
)
if
__name__
==
'__main__'
:
run
()
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