

def daemonic_popen(self, command, cwd='/', stdout=None, stderr=None, append=True):
    '\n        On POSIX systems:\n\n        Run ``command`` as a UNIX daemon: fork a child process to setpid, redirect std handles to /dev/null,\n        umask, close all fds, chdir to ``cwd``, then fork and exec ``command``. Returns a ``Popen`` process that\n        can be used to poll/wait for the executed command (but keep in mind that you cannot access std handles)\n\n        On Windows:\n\n        Run ``command`` as a "Windows daemon": detach from controlling console and create a new process group.\n        This means that the command will not receive console events and would survive its parent\'s termination.\n        Returns a ``Popen`` object.\n\n        .. note:: this does not run ``command`` as a system service, only detaches it from its parent.\n\n        .. versionadded:: 1.3\n        '
    if IS_WIN32:
        return win32_daemonize(command, cwd, stdout, stderr, append)
    else:
        return posix_daemonize(command, append, stdout, stderr, append)

dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/machines/local.py LocalMachine.daemonic_popen/VarMisuse@59/377 `cwd`->`append`