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,
116 timer = threading.Timer(timeout, process.kill)
118 stdout, _ = process.communicate()
120 if show_output or process.returncode != 0:
127 if process.returncode == 255:
130 elif process.returncode != 0:
131 raise subprocess.CalledProcessError(process.returncode, cmd)
260 process = subprocess.Popen(ssh_cmd, shell=True, stdin=None,
263 stdout, _ = process.communicate()