carb::launcher::fLaunchFlagLaunchDetached

Defined in carb/launcher/ILauncher.h

constexpr LauncherFlags carb::launcher::fLaunchFlagLaunchDetached = 0x00000400

Flag to indicate that the child process should be launched fully detached from the launching (ie: parent) process.

This flag only has an effect on Linux and Mac OS. On Windows this flag is simply ignored. This intentionally orphans the child process so that the terminal session or initd becomes the one responsible for waiting on the orphaned child process instead of the launching parent process. This allows the child process to be a fully fire- and-forget process on all platforms. Note that using this flag may make communication with the child process difficult or impossible. This flag should generally not be used in combination with child processes that need to read stdout and stderr output.