mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158)
This commit is contained in:
parent
148610d88a
commit
0be3246d4f
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue