Skip to content

Update StringConversions for Windows shell escaping #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 18, 2020

Conversation

troughton
Copy link
Contributor

We don't need to escape backslashes on Windows, and multiple double-quotes seem to be standard (https://stackoverflow.com/a/15262019) for escaping other characters. Note that single-quote escaping does not work on Windows shells.

We don't need to escape backslashes on Windows, and multiple double-quotes seem to be standard (https://stackoverflow.com/a/15262019) for escaping other characters. Note that single-quote escaping does not work on Windows shells.
@MaxDesiatov
Copy link
Contributor

@swift-ci please test

@tomerd
Copy link
Contributor

tomerd commented Aug 17, 2020

@compnerd could you please help review this since you worked on this lately

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we can get away with PathQuoteSpacesW on Windows. But this seems like a step in the correct direction.

@compnerd compnerd merged commit c4fbd13 into swiftlang:master Aug 18, 2020
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.

4 participants