Module process

Module process 

Source
Expand description

Utility functions for process management.

Functionsยง

is_alive
Check if a process with given PID is alive.
kill
Send SIGKILL to a process (forceful shutdown).
stop
Gracefully stop a process: SIGTERM, wait, then SIGKILL if needed.
terminate
Send SIGTERM to a process (graceful shutdown).