From 31d04f2183e564f858a7dd03f26290c4da98dd3e Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Tue, 14 Dec 2010 18:18:49 +0000 Subject: [PATCH] SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD) --- Lib/test/subprocessdata/sigchild_ignore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/subprocessdata/sigchild_ignore.py b/Lib/test/subprocessdata/sigchild_ignore.py index 1d03303e447..6072aece28a 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()