Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
bbcfc585
Commit
bbcfc585
authored
Nov 28, 2017
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master: add a comment to explain what's going on, and fix log msg.
Closes #70
parent
3cbe9baf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mitogen/master.py
mitogen/master.py
+6
-2
No files found.
mitogen/master.py
View file @
bbcfc585
...
...
@@ -109,9 +109,13 @@ def create_child(*args):
os
.
execvp
(
args
[
0
],
args
)
childfp
.
close
()
# Decouple the socket from the lifetime of the Python socket object.
fd
=
os
.
dup
(
parentfp
.
fileno
())
parentfp
.
close
()
LOG
.
debug
(
'create_child() child %d fd %d, parent %d, cmd: %s'
,
pid
,
parentfp
.
fileno
()
,
os
.
getpid
(),
Argv
(
args
))
return
pid
,
os
.
dup
(
parentfp
.
fileno
())
pid
,
fd
,
os
.
getpid
(),
Argv
(
args
))
return
pid
,
fd
def
flags
(
names
):
...
...
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