diff PC/_subprocess.c @ 75524:41b1fe5a75a6 3.2

Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
author Antoine Pitrou <solipsis@pitrou.net>
date Sun, 11 Mar 2012 19:29:12 +0100
parents 3c9232a684ae
children f452d7d5470d
line wrap: on
line diff
--- a/PC/_subprocess.c	Sat Mar 10 16:09:35 2012 +0000
+++ b/PC/_subprocess.c	Sun Mar 11 19:29:12 2012 +0100
@@ -684,6 +684,7 @@
     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;
 }