Skip to content

process

Utils to check OS processes

Functions:

check_process_status

check_process_status(pid_: int) -> bool

Function to check if the process exists

Parameters:

  • pid_

    (int) –

    PID of the process

Returns:

  • bool

    True if exists, False if not

is_active_process

is_active_process(pid_: int) -> bool

Function to check if the process exists

Parameters:

  • pid_

    (int) –

    PID of the process

Returns:

  • bool

    True if exists, False otherwise