Trait Process

Source
pub trait Process {
    type Command: Command<Child = Self::Child>;
    type Child: Child<Stdin = Self::Stdin, Stdout = Self::Stdout, Stderr = Self::Stderr>;
    type Stdin: Stdin + IntoStdio;
    type Stdout: Stdout + IntoStdio;
    type Stderr: Stderr + IntoStdio;
}
Expand description

Trait for spawning a child process.

Required Associated Types§

Source

type Command: Command<Child = Self::Child>

The command type.

Source

type Child: Child<Stdin = Self::Stdin, Stdout = Self::Stdout, Stderr = Self::Stderr>

The child process type.

Source

type Stdin: Stdin + IntoStdio

The standard input (stdin) handle type.

Source

type Stdout: Stdout + IntoStdio

The standard output (stdout) handle type.

Source

type Stderr: Stderr + IntoStdio

The standard error (stderr) handle type.

Implementors§