From 1f9a8354002dbb29f38bfbd4273ce62e40ac80ba Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 11 Mar 2012 19:29:12 +0100 Subject: Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. --- PC/_subprocess.c | 1 + 1 file changed, 1 insertion(+) (limited to 'PC/_subprocess.c') diff --git a/PC/_subprocess.c b/PC/_subprocess.c index 2338f3085b..f9a79a7300 100644 --- a/PC/_subprocess.c +++ b/PC/_subprocess.c @@ -684,6 +684,7 @@ PyInit__subprocess() defint(d, "WAIT_OBJECT_0", WAIT_OBJECT_0); defint(d, "CREATE_NEW_CONSOLE", CREATE_NEW_CONSOLE); defint(d, "CREATE_NEW_PROCESS_GROUP", CREATE_NEW_PROCESS_GROUP); + defint(d, "STILL_ACTIVE", STILL_ACTIVE); return m; } -- cgit v1.2.1