mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environment (GH-16098)
https://bugs.python.org/issue38092
This commit is contained in:
parent
5b9ff7a0dc
commit
f2b7556ef8
3 changed files with 3 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ class Popen(object):
|
|||
try:
|
||||
hp, ht, pid, tid = _winapi.CreateProcess(
|
||||
python_exe, cmd,
|
||||
env, None, False, 0, None, None, None)
|
||||
None, None, False, 0, env, None, None)
|
||||
_winapi.CloseHandle(ht)
|
||||
except:
|
||||
_winapi.CloseHandle(rhandle)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue