NET 9: Redirecting the output of 'dotnet run' command adds escape characters at the beginning of file: ]9;4;3;\]9;4;0;\ #109815
Labels
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
Description
When redirecting the output of
dotnet run
command on windows command prompt or Windows power shell, it prints the below escape characters at the beginning of the fileReproduction Steps
Open a windows command prompt or Windows power shell and follow below commands
nt9.log
Expected behavior
It should print the redirected output without escape characters at the beginning of the file.
Actual behavior
'nt9.log' file content :
Regression?
Using .NET 8 SDK, such issue does not replicate.
'nt8.log' file content:
nt8.log
Known Workarounds
No response
Configuration
.NET version: 9.0.100
OS and version : Windows 11 Enterprise 21H2
Arch: x64
Other information
No response
The text was updated successfully, but these errors were encountered: