summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-28 10:52:47 (GMT)
committerGitHub <noreply@github.com>2020-01-28 10:52:47 (GMT)
commitdbb37aac1428ddcba784d9ddc77c1708c391aa80 (patch)
tree8a8f5a686e6c3037c7828751c85b239c4f7365ce /Lib/multiprocessing
parentcee5da861091cdaca99f0636af7ab8c4b0274e5f (diff)
downloadcpython-dbb37aac1428ddcba784d9ddc77c1708c391aa80.zip
cpython-dbb37aac1428ddcba784d9ddc77c1708c391aa80.tar.gz
cpython-dbb37aac1428ddcba784d9ddc77c1708c391aa80.tar.bz2
bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158)
(cherry picked from commit 0be3246d4f9c8eddcd55491901d95b09fe163f15) Co-authored-by: Adam Meily <ameily@users.noreply.github.com>
Diffstat (limited to 'Lib/multiprocessing')
-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