summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-03-11 18:29:12 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-03-11 18:29:12 (GMT)
commitf60845b70a78c0e29dc0e865c6cd9e2e35e635f5 (patch)
tree0e5bff369d2578750ed4a2e0be30cdae33fd9d8d /PC
parent5081957642caffae192b6e3f045a92b55afc8e9c (diff)
downloadcpython-f60845b70a78c0e29dc0e865c6cd9e2e35e635f5.zip
cpython-f60845b70a78c0e29dc0e865c6cd9e2e35e635f5.tar.gz
cpython-f60845b70a78c0e29dc0e865c6cd9e2e35e635f5.tar.bz2
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
Diffstat (limited to 'PC')
-rw-r--r--PC/_subprocess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/_subprocess.c b/PC/_subprocess.c
index 6780382..689b0c8 100644
--- a/PC/_subprocess.c
+++ b/PC/_subprocess.c
@@ -670,4 +670,5 @@ init_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);
}