Lines Matching refs:process
51 process = subprocess.Popen(cmd, shell=True, stdin=None,
55 timer = threading.Timer(timeout, process.kill)
57 process.wait()
60 return process.returncode
78 process = subprocess.Popen(cmd, shell=True, stdin=None,
82 timer = threading.Timer(timeout, process.kill)
84 process.communicate()
87 return process.returncode
111 process = subprocess.Popen(cmd, shell=True, stdin=None,
115 timer = threading.Timer(timeout, process.kill)
117 stdout, _ = process.communicate()
119 if show_output or process.returncode != 0:
126 if process.returncode == 255:
129 elif process.returncode != 0:
130 raise subprocess.CalledProcessError(process.returncode, cmd)
259 process = subprocess.Popen(ssh_cmd, shell=True, stdin=None,
261 stdout, _ = process.communicate()