SpawnCommand

Trait SpawnCommand 

Source
pub trait SpawnCommand {
    // Required method
    fn spawn(self) -> Result<SpawnedCommand>;
}
Available on crate feature process only.
Expand description

Trait used by objects that can spawn a command suitable for use with a ProcessStream.

Required Methods§

Source

fn spawn(self) -> Result<SpawnedCommand>

Spawns the command with the stdout and stderr handles configured appropriately.

Implementors§