Debugger/DebuggerInterfacePython.py

changeset 6716
1c9d3b369ea8
parent 6645
ad476851d7e0
child 6821
ed0dacdb437e
--- a/Debugger/DebuggerInterfacePython.py	Sat Feb 09 14:40:32 2019 +0100
+++ b/Debugger/DebuggerInterfacePython.py	Sun Feb 10 12:13:10 2019 +0100
@@ -369,8 +369,8 @@
                 rhost = "localhost"
             if rexec:
                 args = Utilities.parseOptionString(rexec) + \
-                    [rhost, interpreter, os.path.abspath(debugClient),
-                        noencoding, str(port), redirect, ipaddr]
+                    [rhost, interpreter, debugClient, noencoding,
+                     str(port), redirect, ipaddr]
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:],
                                               workingDir=workingDir)
@@ -391,7 +391,10 @@
                 else:
                     self.translate = self.__identityTranslation
                 return process, self.__isNetworked, ""
-        
+            else:
+                # remote shell command is missing
+                return None, self.__isNetworked, ""
+    
         # set translation function
         self.translate = self.__identityTranslation
         

eric ide

mercurial