mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
This commit is contained in:
commit
b69ef16fe6
4 changed files with 80 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue