Using Write-Output instead of Write-Host since PS v5 now leaks the host stream to stderr

pull/2576/head
Taliesin Sisson 11 years ago committed by Taliesin Sisson
parent fe8d99fd8a
commit c42cb88ddd

@ -72,7 +72,7 @@ function SlurpOutput($l) {
if (Test-Path $log) {
Get-Content $log | select -skip $l | ForEach {
$l += 1
Write-Host "$_"
Write-Output "$_"
}
}
return $l

Loading…
Cancel
Save