Set UseShellExecute to false in Get-Help

This commit is contained in:
Andrew Schwartzmeyer
2016-07-08 13:48:36 -07:00
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;