Debugger/DebugUI.py

changeset 768
df2dbf3072be
parent 761
de0723fab049
child 788
5b1b59777460
diff -r 27554f80d08f -r df2dbf3072be Debugger/DebugUI.py
--- a/Debugger/DebugUI.py	Mon Dec 20 20:07:36 2010 +0100
+++ b/Debugger/DebugUI.py	Wed Dec 22 17:31:41 2010 +0100
@@ -1416,7 +1416,7 @@
             
             if not doNotStart:
                 if runProject and self.project.getProjectType() == "E4Plugin":
-                    argv = "--plugin={0} {1}".format(fn, argv)
+                    argv = '--plugin="{0}" {1}'.format(fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                 
                 # Ask the client to open the new program.
@@ -1520,7 +1520,7 @@
             
             if not doNotStart:
                 if runProject and self.project.getProjectType() == "E4Plugin":
-                    argv = "--plugin={0} {1}".format(fn, argv)
+                    argv = '--plugin="{0}" {1}'.format(fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                 
                 # Ask the client to open the new program.
@@ -1627,7 +1627,7 @@
             
             if not doNotStart:
                 if runProject and self.project.getProjectType() == "E4Plugin":
-                    argv = "--plugin={0} {1}".format(fn, argv)
+                    argv = '--plugin="{0}" {1}'.format(fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                 
                 # Ask the client to open the new program.
@@ -1742,7 +1742,7 @@
             
             if not doNotStart:
                 if debugProject and self.project.getProjectType() == "E4Plugin":
-                    argv = "--plugin={0} {1}".format(fn, argv)
+                    argv = '--plugin="{0}" {1}'.format(fn, argv)
                     fn = os.path.join(getConfig('ericDir'), "eric5.py")
                     tracePython = True # override flag because it must be true
                 
@@ -1793,7 +1793,7 @@
         
         if not doNotStart:
             if forProject and self.project.getProjectType() == "E4Plugin":
-                argv = "--plugin={0} {1}".format(fn, argv)
+                argv = '--plugin="{0}" {1}'.format(fn, argv)
                 fn = os.path.join(getConfig('ericDir'), "eric5.py")
             
             if self.lastStartAction in [1, 2]:

eric ide

mercurial