diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-11 18:33:29 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-11 18:33:29 (GMT) |
commit | b69ef16fe63e6de91c5d659bd83d9eff67b38d98 (patch) | |
tree | 4b30e9f75998b4d12b701a5d58c7ac5beda80ce8 /PC/_subprocess.c | |
parent | 6c52c5755fb63e50364f66fd98b8096c236ae633 (diff) | |
parent | 1f9a8354002dbb29f38bfbd4273ce62e40ac80ba (diff) | |
download | cpython-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/_subprocess.c')
-rw-r--r-- | PC/_subprocess.c | 1 |
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; } |