ID EN
OS

kill

Python 3.11

Send signal sig to the process pid. Constants for the specific signals available on the host platform are defined in the signal module.

Syntax

PYTHON
os.kill(pid, sig, /)

See Also

signal signal.CTRL_C_EVENT signal.CTRL_BREAK_EVENT kill() signal.pthread_kill() auditing event Availability