Skip to content

Commit

Permalink
set UseShellExecute to false
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyuxu1026 committed Jan 24, 2025
1 parent eb39be7 commit 4bfba08
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ private void OpenLinuxBrowser(string openToolPath, string url)
ProcessStartInfo psi = new ProcessStartInfo(openToolPath, url)
{
RedirectStandardOutput = true,
RedirectStandardError = true
RedirectStandardError = true,
UseShellExecute = false
};

Process.Start(psi);
Expand Down

0 comments on commit 4bfba08

Please sign in to comment.