Lines Matching defs:signal
18 import signal
2465 # is started and running at a point where it could handle a signal.
2509 self._kill(signal.SIGTERM)
2533 # Forcefully kill the process if we weren't able to signal it.
2534 os.kill(proc.pid, signal.SIGINT)
2538 # Allow time for the signal to be passed and the process to exit.
2541 # Forcefully kill the process if we weren't able to signal it.
2542 os.kill(proc.pid, signal.SIGINT)
2563 self._kill_with_event(signal.CTRL_C_EVENT, "CTRL_C_EVENT")
2567 self._kill_with_event(signal.CTRL_BREAK_EVENT, "CTRL_BREAK_EVENT")
3111 @unittest.skipUnless(hasattr(signal, 'SIGKILL'), 'need signal.SIGKILL')
3114 signum = signal.SIGKILL