5

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

 2 years ago
source link: https://github.com/rust-lang/rust/issues/93857
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Contributor

krallin commented on Feb 10

edited by m-ou-se

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.

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK