Send signal sig to the process pid. Constants for the specific signals available on the host platform are defined in the signal module.
os.kill(pid, sig, /)