src/eric7/SystemUtilities/PythonUtilities.py

branch
eric7
changeset 10334
24300d16a154
parent 9905
189b7a23c3c6
child 10351
1f9bafeff96c
--- a/src/eric7/SystemUtilities/PythonUtilities.py	Wed Nov 22 19:42:41 2023 +0100
+++ b/src/eric7/SystemUtilities/PythonUtilities.py	Thu Nov 23 16:23:37 2023 +0100
@@ -19,7 +19,7 @@
     @return path of the Python executable
     @rtype str
     """
-    if sys.platform.startswith("linux"):
+    if sys.platform.startswith(("linux", "freebsd")):
         return sys.executable
     elif sys.platform == "darwin":
         return sys.executable.replace("pythonw", "python")

eric ide

mercurial