Function conch_runtime::spawn::subshell[][src]

pub fn subshell<I, E: ?Sized>(iter: I, env: &E) -> Subshell<I::IntoIter, E> where
    I: IntoIterator,
    I::Item: Spawn<E>,
    E: LastStatusEnvironment + ReportErrorEnvironment + SubEnvironment

Spawns any iterable collection of sequential items as if they were running in a subshell environment.

The env parameter will be copied as a SubEnvironment, in whose context the commands will be executed.