Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for process_setsid #105376

Open
3 tasks
HarveyHunt opened this issue Dec 6, 2022 · 0 comments
Open
3 tasks

Tracking Issue for process_setsid #105376

HarveyHunt opened this issue Dec 6, 2022 · 0 comments
Labels
A-process Area: std::process and std::env C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@HarveyHunt
Copy link

HarveyHunt commented Dec 6, 2022

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

  • None yet.

Footnotes

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

@HarveyHunt HarveyHunt added C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Dec 6, 2022
@workingjubilee workingjubilee added the A-process Area: std::process and std::env label Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-process Area: std::process and std::env C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants