bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158)
This commit is contained in:
parent
148610d88a
commit
0be3246d4f
|
@ -36,7 +36,7 @@ else:
|
|||
if WINSERVICE:
|
||||
_python_exe = os.path.join(sys.exec_prefix, 'python.exe')
|
||||
else:
|
||||
_python_exe = sys._base_executable
|
||||
_python_exe = sys.executable
|
||||
|
||||
def set_executable(exe):
|
||||
global _python_exe
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Honor the Python path when a virtualenv is active on Windows.
|
Loading…
Reference in New Issue