We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Start-AIShell
1 parent 0e2def5 commit 896077aCopy full SHA for 896077a
shell/AIShell.Integration/Commands/StartAishCommand.cs
@@ -16,15 +16,17 @@ protected override void BeginProcessing()
16
{
17
if (Path is null)
18
19
- Path = "aish";
20
- if (SessionState.InvokeCommand.GetCommand(Path, CommandTypes.Application) is null)
+ var app = SessionState.InvokeCommand.GetCommand("aish", CommandTypes.Application);
+ if (app is null)
21
22
ThrowTerminatingError(new(
23
new NotSupportedException("The executable 'aish' cannot be found."),
24
"AIShellMissing",
25
ErrorCategory.NotInstalled,
26
targetObject: null));
27
}
28
+
29
+ Path = app.Source;
30
31
else
32
0 commit comments