pub fn resolve(program: &OsStr, cwd: &Path) -> Result<PathBuf>Expand description
Resolve against the PATH and, on Windows, PATHEXT that a started program receives (see
super::environment::user). A bare name never implicitly searches the working directory;
relative PATH entries are based on cwd.