Merge pull request #493 from PowerShell/console-freeze

Fix for #491: make powershell.exe work in new window
This commit is contained in:
Sergei Vorobev 2016-02-04 13:35:21 -08:00
commit 8a6d4aef98

View file

@ -38,9 +38,12 @@ function Start-DevPSGithub
$startProcessArgs = @{
FilePath = "$binDir\powershell.exe"
ArgumentList = "$ArgumentList"
NoNewWindow = $NoNewWindow
Wait = $NoNewWindow
}
if ($NoNewWindow) {
$startProcessArgs.NoNewWindow = $true
$startProcessArgs.Wait = $true
}
Start-Process @startProcessArgs
}