Lines Matching +refs:proc +refs:debug
86 def done(self, proc, killed, reran): argument
93 self.returncode = proc.returncode
118 def __init__(self, stream, debug=False): argument
120 self.debug = debug
146 if self.debug:
189 def kill_cmd(self, proc, options, kmemleak, keyboard_interrupt=False): argument
198 cmd = [SUDO, KILL, signal, str(proc.pid)]
254 def collect_output(self, proc, debug=False): argument
260 out = Output(proc.stdout, debug)
261 err = Output(proc.stderr, debug)
263 while proc.returncode is None:
264 proc.poll()
326 proc = Popen(privcmd, stdout=PIPE, stderr=PIPE)
331 int(self.timeout), self.kill_cmd, [proc, options, kmemleak]
337 out, err = self.collect_output(proc, options.debug)
347 self.kill_cmd(proc, options, kmemleak, True)
353 self.result.done(proc, self.killed, self.reran)