mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Set UseShellExecute to false in Get-Help
This commit is contained in:
committed by
Andrew Schwartzmeyer
parent
a746b5d1d2
commit
ce2e5d6492
@@ -699,7 +699,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
this.WriteVerbose(string.Format(CultureInfo.InvariantCulture, HelpDisplayStrings.OnlineHelpUri, uriToLaunch.OriginalString));
|
||||
System.Diagnostics.Process browserProcess = new System.Diagnostics.Process();
|
||||
browserProcess.StartInfo.UseShellExecute = true;
|
||||
browserProcess.StartInfo.UseShellExecute = false;
|
||||
if (Platform.IsWindows)
|
||||
{
|
||||
browserProcess.StartInfo.FileName = uriToLaunch.OriginalString;
|
||||
|
||||
Reference in New Issue
Block a user