Tracking Issue for process_setsid · Issue #105376 · rust-lang/rust (original) (raw)

Feature gate: #![feature(process_setsid)]

This is a tracking issue for adding a setsid method to the std::os::unix::process::CommandExt trait.

Add a new setsid method to the CommandExt trait for UNIX systems. Using the setsid method, a caller can create a new session and process group whilst still benefiting from the POSIX spawn fast path code.

Public API

trait CommandExt { fn setsid(&mut self) -> &mut Command }

Steps / History

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html