Skip to content

Tracking Issue for process_set_process_group #93857

Closed
@krallin

Description

@krallin
Contributor

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

  • None yet.

Activity

added
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.
on Feb 10, 2022
added 2 commits that reference this issue on Feb 11, 2022

Rollup merge of rust-lang#93858 - krallin:process-process_group, r=jo…

544fcfe

Rollup merge of rust-lang#93858 - krallin:process-process_group, r=jo…

412e096
added a commit that references this issue on Mar 1, 2022

Rollup merge of rust-lang#93858 - krallin:process-process_group, r=dt…

cf76a19
added a commit that references this issue on Mar 1, 2022

Rollup merge of rust-lang#93858 - krallin:process-process_group, r=dt…

8689081
dtolnay

dtolnay commented on Mar 18, 2022

@dtolnay
Member

This may or may not need a Fuchsia implementation. See #93858 (comment).

@rustbot ping fuchsia

rustbot

rustbot commented on Mar 18, 2022

@rustbot
Collaborator

Hey friends of Fuchsia! This issue could use some guidance on how this should be
resolved/implemented on Fuchsia. Could one of you weigh in?

cc @tmandry

added a commit that references this issue on Mar 19, 2022

Rollup merge of rust-lang#93858 - krallin:process-process_group, r=dt…

3545003

25 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCO-fuchsiaOperating system: FuchsiaT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @joshtriplett@niklasf@BurntSushi@krallin@dtolnay

        Issue actions

          Tracking Issue for process_set_process_group · Issue #93857 · rust-lang/rust