From ce2e5d6492873901689b8e60d6d212093164ca57 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 6 Jul 2016 14:59:44 -0700 Subject: [PATCH] Set UseShellExecute to false in Get-Help --- src/System.Management.Automation/help/HelpCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Management.Automation/help/HelpCommands.cs b/src/System.Management.Automation/help/HelpCommands.cs index ed8593d904..c9bc50ffd5 100644 --- a/src/System.Management.Automation/help/HelpCommands.cs +++ b/src/System.Management.Automation/help/HelpCommands.cs @@ -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;