From ce5cc3ca37bad9ecf9ecfe568cf505408a8f155c Mon Sep 17 00:00:00 2001 From: Sergei Vorobev Date: Wed, 27 Jul 2016 12:27:41 -0700 Subject: [PATCH] Fix Start-DevPowerShell for PowerShellCore edition on windows --- build.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.psm1 b/build.psm1 index 25614ea82..519fde426 100644 --- a/build.psm1 +++ b/build.psm1 @@ -895,9 +895,9 @@ function Start-DevPowerShell { ) try { - if ((-not $NoNewWindow) -and ($IsLinux -or $IsOSX)) + if ((-not $NoNewWindow) -and ($IsCoreCLR)) { - Write-Warning "Start-DevPowerShell -NoNewWindow is implied on non-windows systems" + Write-Warning "Start-DevPowerShell -NoNewWindow is currently implied in PowerShellCore edition https://github.com/PowerShell/PowerShell/issues/1543" $NoNewWindow = $true }