1 implementation of GetCommandPath
Microsoft.DotNet.Cli.Utils (1)
EnvironmentProvider.cs (1)
71
public string?
GetCommandPath
(string commandName, params string[] extensions)
5 references to GetCommandPath
dotnet (2)
CommandFactory\CommandResolution\PathCommandResolver.cs (1)
15
return _environment.
GetCommandPath
(commandResolverArguments.CommandName);
CommandFactory\CommandResolution\WindowsExePreferredCommandSpecFactory.cs (1)
22
var preferredCommandPath = environment.
GetCommandPath
(commandName, ".exe");
dotnet-aot (2)
src\sdk\src\Cli\dotnet\CommandFactory\CommandResolution\PathCommandResolver.cs (1)
15
return _environment.
GetCommandPath
(commandResolverArguments.CommandName);
src\sdk\src\Cli\dotnet\CommandFactory\CommandResolution\WindowsExePreferredCommandSpecFactory.cs (1)
22
var preferredCommandPath = environment.
GetCommandPath
(commandName, ".exe");
Microsoft.DotNet.Cli.Utils (1)
Env.cs (1)
13
s_environment.
GetCommandPath
(commandName, extensions);