ExecutableFinder Class
Provides methods to locate executables in the system PATH.
public static class ExecutableFinderExample
string? gitPath = ExecutableFinder.GetFullExecutablePath("git");
if (gitPath is not null)
{
Assert.True(File.Exists(gitPath));
}Methods
| Name | Description |
|---|---|
| GetFullExecutablePath(string, string?) | Searches for an executable in the system PATH and returns its full path if found. |