Describe the bug
dotnet exec doesn't parse command line environment directives
To Reproduce
>dotnet new console
>dotnet build
>dotnet exec bin\Debug\net8.0\repro.dll
Hello, World!
>dotnet [env:X=1] exec bin\Debug\net8.0\repro.dll
Unrecognized command or argument 'bin\Debug\net8.0\repro.dll'.
Further technical details
>dotnet --info
.NET SDK:
Version: 8.0.200
Commit: 438cab6a9d
Workload version: 8.0.200-manifests.a7f084b6