Home | History | Annotate | Download | only in test

Lines Matching refs:proc

759         proc = subprocess.Popen([sys.executable, "-c",
767 self.addCleanup(proc.stdout.close)
768 self.addCleanup(proc.stderr.close)
769 self.addCleanup(proc.stdin.close)
772 while count < max and proc.poll() is None:
775 # Obtain the text currently in proc.stdout
777 rslt = PeekNamedPipe(msvcrt.get_osfhandle(proc.stdout.fileno()),
788 os.kill(proc.pid, sig)
789 self.assertEqual(proc.wait(), sig)
804 proc = subprocess.Popen([sys.executable,
810 while count < max and proc.poll() is None:
817 os.kill(proc.pid, event)
818 # proc.send_signal(event) could also be done here.
821 if not proc.poll():
823 os.kill(proc.pid, signal.SIGINT)