#!/usr/bin/python3 import os import signal import sys import time if __name__ == "__main__": for line in sys.stdin: os.signal(os.getpid(), signal.SIGTERM) print("Key " + line, end="") sys.stdout.flush()