Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c6637a50
Commit
c6637a50
authored
Dec 14, 2010
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).
parent
d8fec5ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/test/subprocessdata/sigchild_ignore.py
Lib/test/subprocessdata/sigchild_ignore.py
+1
-1
No files found.
Lib/test/subprocessdata/sigchild_ignore.py
View file @
c6637a50
...
@@ -2,5 +2,5 @@ import signal, subprocess, sys
...
@@ -2,5 +2,5 @@ import signal, subprocess, sys
# On Linux this causes os.waitpid to fail with OSError as the OS has already
# On Linux this causes os.waitpid to fail with OSError as the OS has already
# reaped our child process. The wait() passing the OSError on to the caller
# reaped our child process. The wait() passing the OSError on to the caller
# and causing us to exit with an error is what we are testing against.
# and causing us to exit with an error is what we are testing against.
signal
.
signal
(
signal
.
SIGCLD
,
signal
.
SIG_IGN
)
signal
.
signal
(
signal
.
SIGC
H
LD
,
signal
.
SIG_IGN
)
subprocess
.
Popen
([
sys
.
executable
,
'-c'
,
'print("albatross")'
]).
wait
()
subprocess
.
Popen
([
sys
.
executable
,
'-c'
,
'print("albatross")'
]).
wait
()
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