docs

You are reading the docs for v0.1.2. Nabi 0.1.2 is no longer supported. Latest release: v0.1.3 →

std::os::unix::process

On this page

Unix-only parts of process. The traits are in the prelude on Unix targets.

Traits

CommandExtSource

pub trait CommandExt

Unix-only Command settings.

  • fn process_group(self, pgid: i32) -> Self§

    Source

    Put the child in process group pgid (0: a new group it leads).

ExitStatusExtSource

pub trait ExitStatusExt

How a Unix child ended beyond its exit code.

  • fn signal(self) -> Signal | none§

    Source

    The signal that ended it, if one did.

Functions

parent_idSource

pub fn parent_id() -> u32

The parent process's id (getppid).