src/eric7/UI/UserInterface.py

branch
eric7
changeset 9377
b9c8dc3b7da1
parent 9308
110d32f96013
child 9413
80c06d472826
--- a/src/eric7/UI/UserInterface.py	Sat Oct 01 20:06:27 2022 +0200
+++ b/src/eric7/UI/UserInterface.py	Sun Oct 02 11:29:11 2022 +0200
@@ -5149,10 +5149,10 @@
         Private slot to start a new instance of eric.
         """
         if not Preferences.getUI("SingleApplicationMode"):
-            # start eric without any arguments
+            # start eric without loading anything and without crash session
             program = Globals.getPythonExecutable()
-            eric7 = os.path.join(getConfig("ericDir"), "eric7.py")
-            args = [eric7]
+            eric7 = os.path.join(os.path.dirname(__file__), "..", "eric7_ide.py")
+            args = [eric7, "--no-open", "--disable-crash"]
             QProcess.startDetached(program, args)
 
     def __initToolsMenus(self, menu):

eric ide

mercurial