carb::launcher::fLaunchFlagForce
Defined in carb/launcher/ILauncher.h
-
constexpr LauncherFlags carb::launcher::fLaunchFlagForce = 0x00000004
When the fLaunchFlagKillOnParentExit flag is also used, this indicates that the child process should be forcibly terminated instead of just being asked to exit when the parent process dies.
This flag is only used on Linux where there is the possibility of a child process catching and handling a SIGTERM signal. If the child process generally installs a SIGTERM handler and doesn’t exit as a result, this flag should be used to allow a SIGKILL to be sent instead (which can neither be caught nor ignored). Generally, sending a SIGTERM is considered the ‘correct’ or ‘appropriate’ way to kill a process on Linux. This flag is ignored on Windows.