D | common.py | 140 def RunCommandForOutput(cmd, env, stdout, stderr, timeout=60): argument 156 proc = Popen(cmd, stdout=stdout, stderr=stderr, env=env, 171 def _LogCmdOutput(logfile, cmd, output, retcode): argument 181 CommandListToCommandString(cmd), output, retcode)) 184 def RunCommand(cmd, out, err, timeout=5): argument 203 (_, _, retcode) = RunCommandForOutput(cmd, None, outf, errf, timeout) 211 def CommandListToCommandString(cmd): argument 222 return ' '.join([shlex.quote(segment) for segment in cmd]) 263 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument 337 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument [all …]
|