Closed ajansveld closed 6 years ago
Ok, I understand. I will close this pull request and maintain my own fork. Ultimately my goal is to maintain full compatibility with Start-Job (including ensuring that Write-Host never pollutes the output stream) and I have no interest in maintaining compatibility with pre-v5 versions of PowerShell.
Ok. The Information stream is difficult for down level compatibility, but it would be easy to add a new switch to Start-ThreadJob, something like -IgnoreWriteHost. Or maybe make it opt in with -MergeWriteHostToOutput (slightly breaking change).
Attempt to fix the information stream while keeping compatibility with older PowerShell versions. Should fix issues #4 and #11.