D | remotehost.py | 21 def execute_thread(command, reply): argument 22 cmd = ' '.join(command) 27 buf = subprocess.check_output(command, stderr=err, bufsize=0).decode() 66 def local_execute(self, command): argument 67 logger.debug("execute: " + str(command)) 71 buf = subprocess.check_output(command, stderr=err) 82 def execute(self, command): argument 84 return self.local_execute(command) 86 cmd = ["ssh", self.user + "@" + self.host, ' '.join(command)] 104 def thread_run(self, command, res, use_reaper=True): argument [all …]
|