pub fn require(cmd: &str) -> Result<PathBuf, Error>
Require a command to exist, returning an error if not found.