Lines Matching refs:cmd
77 def cmd(self): member in CompletedProcess
84 return rh.shell.cmd_to_str(self.cmd)
100 def __init__(self, returncode, cmd, stdout=None, stderr=None, msg=None, argument
106 super(CalledProcessError, self).__init__(returncode, cmd, stdout)
120 return '' if self.cmd is None else rh.shell.cmd_to_str(self.cmd)
155 def _kill_child_process(proc, int_timeout, kill_timeout, cmd, original_handler, argument
200 signum << 8, cmd, msg='Received signal %i' % signum)
266 def run(cmd, redirect_stdout=False, redirect_stderr=False, cwd=None, input=None, argument
364 if isinstance(cmd, string_types):
367 cmd = ['/bin/bash', '-c', cmd]
377 result.args = cmd
381 proc = _Popen(cmd, cwd=cwd, stdin=stdin, stdout=popen_stdout,
387 kill_timeout, cmd, old_sigint)
392 kill_timeout, cmd, old_sigterm)
422 result.returncode, result.cmd, stdout=result.stdout,
430 args=cmd, stderr=estr.encode('utf-8'), returncode=255)
433 result.returncode, result.cmd, stdout=result.stdout,
440 _kill_child_process(proc, int_timeout, kill_timeout, cmd, None,