Skip to content

Conversation

@xt0rted
Copy link
Owner

@xt0rted xt0rted commented Apr 24, 2022

The change in #17 looks to have fixed the issues with pwsh and bash, as well as some minor issues with cmd.exe, but when a script like dotnet --version && dotnet --info is run in cmd.exe only the left portion executes. The escaped ^&^& is acting as a terminator.

Based on what I've read, and the code in the dotnet sdk, escaping everything is the right way to do this. But based on real world testing the command portion doesn't need escaping, and doing so breaks some things. The additional arguments passed with the double dash still need this level of escaping but I'm sure another edge case will come up after merging this.

@xt0rted xt0rted merged commit afddf5f into main Apr 24, 2022
@xt0rted xt0rted deleted the cmd-escaping branch April 24, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants