commit | f60845b70a78c0e29dc0e865c6cd9e2e35e635f5 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Mar 11 19:29:12 2012 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Mar 11 19:29:12 2012 +0100 |
tree | 0e5bff369d2578750ed4a2e0be30cdae33fd9d8d | |
parent | 5081957642caffae192b6e3f045a92b55afc8e9c [diff] [blame] |
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
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 @@ 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); }