Feature gate: #![feature(process_set_process_group)]
This is a tracking issue for: Add a process_group method to UNIX CommandExt
Add a process_group method to std::os::unix::process::CommandExt that
allows setting the process group id (i.e. calling setpgid) in the child, thus
enabling users to set process groups while leveraging the posix_spawn fast
path.
Public API
trait CommandExt {
fn process_group(
&mut self,
pgroup: i32,
) -> &mut process::Command
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(process_set_process_group)]This is a tracking issue for: Add a
process_groupmethod to UNIXCommandExtAdd a
process_groupmethod tostd::os::unix::process::CommandExtthatallows setting the process group id (i.e. calling
setpgid) in the child, thusenabling users to set process groups while leveraging the
posix_spawnfastpath.
Public API
Steps / History
process_groupmethod to UNIXCommandExtrfcs#3228process_groupmethod to UNIXCommandExt#93858Unresolved Questions