summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-03-11 18:33:29 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-03-11 18:33:29 (GMT)
commitb69ef16fe63e6de91c5d659bd83d9eff67b38d98 (patch)
tree4b30e9f75998b4d12b701a5d58c7ac5beda80ce8 /PC
parent6c52c5755fb63e50364f66fd98b8096c236ae633 (diff)
parent1f9a8354002dbb29f38bfbd4273ce62e40ac80ba (diff)
downloadcpython-b69ef16fe63e6de91c5d659bd83d9eff67b38d98.zip
cpython-b69ef16fe63e6de91c5d659bd83d9eff67b38d98.tar.gz
cpython-b69ef16fe63e6de91c5d659bd83d9eff67b38d98.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 93e51d3..13a5e1f 100644
--- a/PC/_subprocess.c
+++ b/PC/_subprocess.c
@@ -691,6 +691,7 @@ PyInit__subprocess()
defint(d, "WAIT_TIMEOUT", WAIT_TIMEOUT);
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;
}