bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environment (GH-16098)


https://bugs.python.org/issue38092
(cherry picked from commit f2b7556ef851ac85e7cbf189d1b29fdeb9539b88)

Co-authored-by: Steve Dower <steve.dower@python.org>
diff --git a/Lib/multiprocessing/spawn.py b/Lib/multiprocessing/spawn.py
index 7cc129e..075f345 100644
--- a/Lib/multiprocessing/spawn.py
+++ b/Lib/multiprocessing/spawn.py
@@ -36,7 +36,7 @@
 if WINSERVICE:
     _python_exe = os.path.join(sys.exec_prefix, 'python.exe')
 else:
-    _python_exe = sys.executable
+    _python_exe = sys._base_executable
 
 def set_executable(exe):
     global _python_exe