Skip to main content

set_pdeathsig

Sends signal name to process when parent process terminates.

def set_pdeathsig(
name: string
) - > null

Sends signal name to process when parent process terminates.

Parameters​

NameTypeDescription
namestringThe name of the signal (e.g., 'SIGKILL') to be sent to the current process when its parent exits.

Returns​

TypeDescription
nullNothing is returned; the process state is modified directly via system calls.