Sending Signal



examples/signals/send_signal.py
import signal
import os

print("before")
os.kill(os.getpid(), signal.SIGUSR1)
print("after")

before
User defined signal 1: 30