def run_daemon_process() -> None:
    """
    Start a new Python process to run daemon.

    :return:
    """

    flags = {}
    if sys.platform.startswith("win"):
        DETACHED_PROCESS = 0x00000008
        flags["creationflags"] = DETACHED_PROCESS

    apppath = app_path(pythonw=True, as_list=True)
    subprocess.Popen(apppath + ["-D"], stdin=None, stdout=None, stderr=None, close_fds=True, **flags)

    Start a new Python process to run daemon.

    :return:
    
angrmanagement/daemon/server.py