os.kill()

os.kill(pid, sig)

Kill a process with a signal.