summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAdam Meily <ameily@users.noreply.github.com>2020-01-28 10:34:23 (GMT)
committerSteve Dower <steve.dower@python.org>2020-01-28 10:34:23 (GMT)
commit0be3246d4f9c8eddcd55491901d95b09fe163f15 (patch)
tree85fd6b3ab74f9fc9cd8e41545eb1788ff5f45122 /Lib
parent148610d88a2785751ed435a4e60f07a9f1bc50a6 (diff)
downloadcpython-0be3246d4f9c8eddcd55491901d95b09fe163f15.zip
cpython-0be3246d4f9c8eddcd55491901d95b09fe163f15.tar.gz
cpython-0be3246d4f9c8eddcd55491901d95b09fe163f15.tar.bz2
bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/multiprocessing/spawn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/spawn.py b/Lib/multiprocessing/spawn.py
index 075f345..7cc129e 100644
--- a/Lib/multiprocessing/spawn.py
+++ b/Lib/multiprocessing/spawn.py
@@ -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