pub trait CommandExt {
    fn spawn_logged<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        log_dir: &'life1 PathBuf,
        name: &'static str,
        line: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }
Expand description

Extension trait for Command.

Required Methods

Spawn a command, logging its stdout/stderr to files and to the env logger.

Implementations on Foreign Types

Implementors