Skip to main content

execute_with

Function execute_with 

Source
pub async fn execute_with(
    context: &'static ExecutableContext,
    path: impl AsRef<Path>,
    inputs: Vec<String>,
    standard: Standard<'static>,
    spawner: Option<SpawnerIdentifier>,
    launch: Launch,
) -> Result<JoinHandle<isize>>
Expand description

Like execute, with launch parameters: an explicit environment for the new task (any executable) and a home capability (native executables). The new task is a child of the calling task and starts with a copy of its environment otherwise.