411 fn = self.translate(os.path.abspath(fn), False) |
411 fn = self.translate(os.path.abspath(fn), False) |
412 self.__sendCommand('%s%s|%s|%s|%d\n' % \ |
412 self.__sendCommand('%s%s|%s|%s|%d\n' % \ |
413 (RequestLoad, wd, fn, str(Utilities.parseOptionString(argv)), |
413 (RequestLoad, wd, fn, str(Utilities.parseOptionString(argv)), |
414 traceInterpreter)) |
414 traceInterpreter)) |
415 |
415 |
416 def remoteRun(self, fn, argv, wd): |
416 def remoteRun(self, fn, argv, wd, autoFork = False, forkChild = False): |
417 """ |
417 """ |
418 Public method to load a new program to run. |
418 Public method to load a new program to run. |
419 |
419 |
420 @param fn the filename to run (string) |
420 @param fn the filename to run (string) |
421 @param argv the commandline arguments to pass to the program (string) |
421 @param argv the commandline arguments to pass to the program (string) |
422 @param wd the working directory for the program (string) |
422 @param wd the working directory for the program (string) |
|
423 @keyparam autoFork flag indicating the automatic fork mode (boolean) (ignored) |
|
424 @keyparam forkChild flag indicating to debug the child after forking |
|
425 (boolean) (ignored) |
423 """ |
426 """ |
424 wd = self.translate(wd, False) |
427 wd = self.translate(wd, False) |
425 fn = self.translate(os.path.abspath(fn), False) |
428 fn = self.translate(os.path.abspath(fn), False) |
426 self.__sendCommand('%s%s|%s|%s\n' % \ |
429 self.__sendCommand('%s%s|%s|%s\n' % \ |
427 (RequestRun, wd, fn, str(Utilities.parseOptionString(argv)))) |
430 (RequestRun, wd, fn, str(Utilities.parseOptionString(argv)))) |