eric6.py

changeset 6581
8eb6220f2bb7
parent 6367
7bc6fc02d981
child 6645
ad476851d7e0
--- a/eric6.py	Sun Nov 04 12:38:32 2018 +0100
+++ b/eric6.py	Sun Nov 04 17:20:11 2018 +0100
@@ -14,6 +14,9 @@
 from __future__ import unicode_literals
 
 import sys
+import os
+
+originalPathString = os.getenv("PATH")
 
 # generate list of arguments to be remembered for a restart
 restartArgsList = ["--no-splash", "--plugin", "--debug", "--config",
@@ -41,7 +44,6 @@
 except AttributeError:
     pass
 
-import os
 import traceback
 import time
 import logging
@@ -396,7 +398,8 @@
     splash.showMessage(
         QCoreApplication.translate("eric6", "Generating Main Window..."))
     mainWindow = UserInterface(app, loc, splash, pluginFile, disabledPlugins,
-                               noopen, nocrash, disablecrash, restartArgs)
+                               noopen, nocrash, disablecrash, restartArgs,
+                               originalPathString)
     app.lastWindowClosed.connect(app.quit)
     mainWindow.show()
     

eric ide

mercurial