Skip to content

Commit 9139432

Browse files
azure-sdkbenbp
andauthored
Fixes to auto-download/start azsdk mcp (#45358)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
1 parent 83194bb commit 9139432

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/common/mcp/azure-sdk-mcp.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/env pwsh
22

33
param(
4-
[string]$FileName = 'azsdk',
4+
[string]$FileName = 'Azure.Sdk.Tools.Cli',
55
[string]$Package = 'azsdk',
66
[string]$Version, # Default to latest
77
[string]$InstallDirectory = (Join-Path $HOME ".azure-sdk-mcp" "azsdk"),
@@ -56,5 +56,5 @@ $exe = Install-Standalone-Tool `
5656
-Repository $Repository
5757

5858
if ($Run) {
59-
Start-Process -FilePath $exe -NoNewWindow -Wait
60-
}
59+
Start-Process -FilePath $exe -ArgumentList 'start' -NoNewWindow -Wait
60+
}

0 commit comments

Comments
 (0)