Home | History | Annotate | Download | only in common

Lines Matching refs:retcode

47 class RetCode(Enum):
153 tuple (string, string, RetCode) stdout output, stderr output, normalized
161 retcode = RetCode.SUCCESS
163 retcode = RetCode.ERROR
167 retcode = RetCode.TIMEOUT
168 return (output, stderr_output, retcode)
171 def _LogCmdOutput(logfile, cmd, output, retcode):
178 retcode: RetCode, normalized retcode.
181 CommandListToCommandString(cmd), output, retcode))
193 RetCode, return code of running command (forced RetCode.TIMEOUT
203 (_, _, retcode) = RunCommandForOutput(cmd, None, outf, errf, timeout)
208 return retcode
341 (output, err_output, retcode) = RunCommandForOutput(
346 _LogCmdOutput(self._logfile, cmd, output, retcode)
347 return (output, retcode)
452 (output, _, retcode) = RunCommandForOutput(cmd, self._shell_env, PIPE,
475 _LogCmdOutput(self._logfile, cmd, output, retcode)
476 return (output, retcode)