Lines Matching full:proc
29 def kill_on_error(proc): argument
31 with proc:
33 yield proc
35 proc.kill()
93 for proc in processes:
94 proc.wait()
104 proc = self.new_sleep_process()
105 wait_func(proc.pid)
107 proc.wait()
138 proc = self.subprocess(code, str(wr), pass_fds=[wr])
139 with kill_on_error(proc):
143 self.assertEqual(proc.wait(), 0)
175 proc = self.subprocess(code, str(rd), pass_fds=[rd])
176 with kill_on_error(proc):
181 self.assertEqual(proc.wait(), 0)
217 proc = self.subprocess(code, str(fd), pass_fds=[fd])
218 with kill_on_error(proc):
222 self.assertEqual(proc.wait(), 0)
267 proc = self.subprocess(code, str(fd), pass_fds=[fd])
268 with kill_on_error(proc):
275 self.assertEqual(proc.wait(), 0)
305 proc = self.subprocess(code)
306 with kill_on_error(proc):
309 self.assertEqual(proc.wait(), 0)
341 proc = self.subprocess(code)
342 with kill_on_error(proc):
344 self.assertEqual(proc.wait(), 0)
407 proc = self.subprocess(code)
408 with kill_on_error(proc):
412 self.assertEqual(proc.wait(), 0)
497 proc = self.subprocess(code)
498 with kill_on_error(proc):
517 proc.wait()