diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2010-12-14 18:18:49 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-12-14 18:18:49 (GMT) |
commit | 31d04f2183e564f858a7dd03f26290c4da98dd3e (patch) | |
tree | 72a8013c8eff62e4eec5897e3ab037361f6d23f3 /Lib/test/subprocessdata | |
parent | ec07331eea496469165dc3be45fadbeab641e083 (diff) | |
download | cpython-31d04f2183e564f858a7dd03f26290c4da98dd3e.zip cpython-31d04f2183e564f858a7dd03f26290c4da98dd3e.tar.gz cpython-31d04f2183e564f858a7dd03f26290c4da98dd3e.tar.bz2 |
SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)
Diffstat (limited to 'Lib/test/subprocessdata')
-rw-r--r-- | Lib/test/subprocessdata/sigchild_ignore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/subprocessdata/sigchild_ignore.py b/Lib/test/subprocessdata/sigchild_ignore.py index 1d03303..6072aec 100644 --- a/Lib/test/subprocessdata/sigchild_ignore.py +++ b/Lib/test/subprocessdata/sigchild_ignore.py @@ -2,5 +2,5 @@ import signal, subprocess, sys # 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 # and causing us to exit with an error is what we are testing against. -signal.signal(signal.SIGCLD, signal.SIG_IGN) +signal.signal(signal.SIGCHLD, signal.SIG_IGN) subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait() |