Lines Matching refs:cmd
22 cmd = ' '.join(command)
23 logger.debug("thread run: " + cmd)
34 logger.debug("thread cmd: " + cmd)
86 cmd = ["ssh", self.user + "@" + self.host, ' '.join(command)]
87 _cmd = self.name + " execute: " + ' '.join(cmd)
92 buf = subprocess.check_output(cmd, stderr=err)
115 cmd = _command
117 cmd = ["ssh", self.user + "@" + self.host, ' '.join(_command)]
118 _cmd = self.name + " thread_run: " + ' '.join(cmd)
120 t = threading.Thread(target=execute_thread, name=filename, args=(cmd, res))
131 cmd = ["kill `cat " + pid_file + "`"]
132 self.execute(cmd)
137 cmd = ["kill `cat " + pid_file + "`"]
138 self.execute(cmd)
143 cmd = ["kill -9 `cat " + pid_file + "`"]
144 self.execute(cmd)
177 cmd = ["ssh", self.user + "@" + self.host, ' '.join(_command)]
179 cmd = _command
181 _cmd = self.name + " proc_run: " + ' '.join(cmd)
184 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=err,
217 def proc_write(self, proc, cmd): argument
218 return proc.stdout.write(cmd)