pub fn exec(plan: Plan, warn: &mut dyn FnMut(&str)) -> LaunchErrorExpand description
Enforces plan and replaces the current process with the program.
Returns only on failure. warn receives non-fatal notices (printed by the CLI).
pub fn exec(plan: Plan, warn: &mut dyn FnMut(&str)) -> LaunchErrorEnforces plan and replaces the current process with the program.
Returns only on failure. warn receives non-fatal notices (printed by the CLI).