src/eric7/EricWidgets/EricSingleApplication.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/EricWidgets/EricSingleApplication.py
--- a/src/eric7/EricWidgets/EricSingleApplication.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/EricWidgets/EricSingleApplication.py	Sun Dec 18 19:33:46 2022 +0100
@@ -9,8 +9,8 @@
 
 import os
 
-from eric7 import Utilities
 from eric7.EricWidgets.EricApplication import ericApp
+from eric7.SystemUtilities import OSUtilities
 from eric7.Toolbox.SingleApplication import (
     SingleApplicationClient,
     SingleApplicationServer,
@@ -124,7 +124,7 @@
         # flag indicating '--' options was found
         ddseen = False
 
-        argChars = ["-", "/"] if Utilities.isWindowsPlatform() else ["-"]
+        argChars = ["-", "/"] if OSUtilities.isWindowsPlatform() else ["-"]
 
         for arg in args:
             if arg == "--" and not ddseen:

eric ide

mercurial