Skip to content

Commit a003c14

Browse files
authored
Set UseShellExecute to false in OpenLinuxBrowser (#5101)
1 parent 2fbeba7 commit a003c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/Microsoft.Identity.Client/Platforms/netstandard/NetCorePlatformProxy.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ private void OpenLinuxBrowser(string openToolPath, string url)
242242
ProcessStartInfo psi = new ProcessStartInfo(openToolPath, url)
243243
{
244244
RedirectStandardOutput = true,
245-
RedirectStandardError = true
245+
RedirectStandardError = true,
246+
UseShellExecute = false
246247
};
247248

248249
Process.Start(psi);

0 commit comments

Comments
 (0)