diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-11 19:29:12 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-11 19:29:12 +0100 |
commit | 1f9a8354002dbb29f38bfbd4273ce62e40ac80ba (patch) | |
tree | eaaaf85cefe62ad490202984e2a0dd2a425eabe7 /PC | |
parent | 328dd0d5f3d20c01d85675f6e5d1001dd2a04480 (diff) | |
download | cpython-git-1f9a8354002dbb29f38bfbd4273ce62e40ac80ba.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |