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§
Sourcefn spawn(self) -> Result<SpawnedCommand>
fn spawn(self) -> Result<SpawnedCommand>
Spawns the command with the stdout and stderr handles configured appropriately.