Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dotnet: Set
DOTNET_NOLOGO
when running external commands (#4515)
Per https://learn.microsoft.com/dotnet/core/tools/dotnet-environment-variables#dotnet_nologo: > Specifies whether .NET welcome and telemetry messages are displayed on the first run. Set to true to mute these messages (values `true`, `1`, or `yes` accepted) or set to false to allow them (values `false`, `0`, or `no` accepted). If not set, the default is `false` and the messages will be displayed on the first run. Since there are cases where we interpret the output of the `dotnet` CLI (for example, when calling `dotnet msbuild --getProperty:IsAspireHost`) we should set this value to ensure that this message is not printed, which would break our deserialization logic, which expects just JSON data to be printed to stdout. Fixes #4513
- Loading branch information