Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(name: &str, args: &[String]) -> Result<ExitCode, String>
Expand description

Resolve name and exec its real binary with args. Resolution order:

  1. Per-directory: the nearest vanta.lock walking up from the current directory — this is what gives project-local tool versions (like mise).
  2. Fallback: the global active generation.

On unix exec replaces the process; it only returns on failure.