Function garden::cmd::resolve_command
source · [−]pub fn resolve_command<S>(command: &[S], env: &[(String, String)]) -> Vec<String> where
S: AsRef<OsStr>,
Expand description
The command might be a path that only exists inside the resolved environment. Resolve the path by looking for the presence of PATH and updating the command when it exists.