jobsGetOwnProcessGroup property
bool
get
jobsGetOwnProcessGroup
Whether background jobs start as their own session and process-group
leader (setsid sh -c …, posix only): stop() then signals the whole
tree with one group kill, and the boot sweep can recognize a job's
leftover group after a crash (issue #517). setsid execs sh in place —
no fork — so the tracked pid IS the group id.
Implementation
static bool get jobsGetOwnProcessGroup =>
ownProcessGroupOverride ?? (_ownGroupCached ??= _probeOwnProcessGroup());