BUG: PowerShell stderr redirect to file inserts newlines
If I run the following command in PowerShell:
$ .\long_error_message.exe 2>error.txt
, I get spurious newlines in error.txt. I generated a full repro and extremely clumsy solution at . Can we declare this behavior as a bug? Note that cmd.exe operates exactly as one would expect.