D | common.py | 132 def RunCommandForOutput(cmd, env, stdout, stderr, timeout=60): argument 148 proc = Popen(cmd, stdout=stdout, stderr=stderr, env=env, 163 def _LogCmdOutput(logfile, cmd, output, retcode): argument 173 CommandListToCommandString(cmd), output, retcode)) 176 def RunCommand(cmd, out, err, timeout=5): argument 195 (_, _, retcode) = RunCommandForOutput(cmd, None, outf, errf, timeout) 203 def CommandListToCommandString(cmd): argument 214 return ' '.join([shlex.quote(segment) for segment in cmd]) 255 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument 335 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument [all …]
|