pub fn spawn_contained_std(
command: &mut Command,
) -> Result<(Child, ProcessTree)>Expand description
Start a synchronous child inside the same process group / Job used by hooks. Windows starts suspended and resumes only after Job assignment. The caller still owns environment policy and bounded waits; this is lifetime containment.