Skip to main content

_daemonable_process

TOC

Functions

🅵 main

def main():

Classes

🅲 DaemonableProcess

class DaemonableProcess:

🅼 __init__

def __init__(
self,
target: Union[str, ModuleType],
args: List = [],
mode: Literal["attached", "detached"],
redirect_stdout=None,
redirect_stderr=subprocess.STDOUT,
use_os_spawn_for_daemon=False,
redirect_stdin=subprocess.DEVNULL,
env_append=None,
):

🅼 is_daemon

def is_daemon(self):

🅼 mode

def mode(self):

🅼 start

def start(self, shell=False, path=None):

🅼 terminate

def terminate(self):