Trait conch_runtime::env::ExecutableEnvironment [] [src]

pub trait ExecutableEnvironment {
    type Future: Future<Item = ExitStatus, Error = CommandError>;
    fn spawn_executable(
        &mut self,
        data: ExecutableData
    ) -> Result<Self::Future, CommandError>; }

An interface for asynchronously spawning executables.

Associated Types

A future which will resolve to the executable's exit status.

Required Methods

Attempt to spawn the executable command.

Implementors