Lines Matching full:proc
46 def read_subprocess_message(proc, starts_with): argument
48 for line in proc.stdout:
54 def send_and_wait(proc, sig, sleep_time=0.6): argument
57 os.kill(proc.pid, sig)
58 proc.wait()
69 proc = launch_process_windows([])
70 send_and_wait(proc, signal.CTRL_BREAK_EVENT) # pylint: disable=no-member
71 sig = read_subprocess_message(proc, 'Signal :')
87 proc = launch_process_nonwindows([])
88 send_and_wait(proc, signal.SIGTERM)
89 sig = read_subprocess_message(proc, 'Signal :')
93 proc = launch_process_nonwindows([])
94 send_and_wait(proc, signal.SIGINT)
95 sig = read_subprocess_message(proc, 'Signal :')