Skip to main content

resolve

Function resolve 

Source
pub fn resolve(program: &OsStr, cwd: &Path) -> Result<PathBuf>
Expand description

Resolve against the inherited PATH and, on Windows, PATHEXT. A bare name never implicitly searches the working directory; relative PATH entries are based on cwd.