Skip to content

Tracking Issue for process_setsid #105376

Open
@HarveyHunt

Description

@HarveyHunt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-processArea: `std::process` and `std::env`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions