Lines Matching refs:signal
26 import signal
382 os.kill(os.getpid(), signal.SIGINT)
393 os.kill(os.getpid(), signal.SIGTERM)
396 def kill_process_group(proc, signal_no=signal.SIGTERM):
414 if signal_no in [signal.SIGABRT,
415 signal.SIGINT,
416 signal.SIGTERM]:
417 windows_signal_no = signal.CTRL_BREAK_EVENT
467 def stop_standing_subprocess(proc, signal_no=signal.SIGTERM):
549 signal.signal(signal.SIGALRM, _timeout_handler)
550 signal.alarm(sec)
557 signal.alarm(0)