diff -r dfeefad914ed -r 6f079c524e99 eric7/QScintilla/ShellWindow.py --- a/eric7/QScintilla/ShellWindow.py Sun Apr 03 17:23:31 2022 +0200 +++ b/eric7/QScintilla/ShellWindow.py Mon Apr 04 17:43:43 2022 +0200 @@ -7,7 +7,6 @@ Module implementing a stand alone shell window. """ -import sys import os from PyQt6.QtCore import ( @@ -29,7 +28,7 @@ import UI.PixmapCache import Preferences -from Globals import isMacPlatform +from Globals import isMacPlatform, getPythonExecutable from .Shell import Shell from .APIsManager import APIsManager @@ -1055,7 +1054,7 @@ """ Private slot to start a new instance of eric. """ - program = sys.executable + program = getPythonExecutable() eric7 = os.path.join(getConfig("ericDir"), "eric7_shell.py") args = [eric7] QProcess.startDetached(program, args)