bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158)
(cherry picked from commit 0be3246d4f
)
Co-authored-by: Adam Meily <ameily@users.noreply.github.com>
This commit is contained in:
parent
cee5da8610
commit
dbb37aac14
|
@ -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