bootstrap::utils::helpers

Function start_process

Source
pub fn start_process(cmd: &mut Command) -> impl FnOnce() -> String
Expand description

Spawn a process and return a closure that will wait for the process to finish and then return its output. This allows the spawned process to do work without immediately blocking bootstrap.