Skip to content
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

Add client-side glob expansion on Windows #769

Closed
wants to merge 3 commits into from
Closed

Add client-side glob expansion on Windows #769

wants to merge 3 commits into from

Conversation

Shnatsel
Copy link
Member

I've bumped version to 0.18.0 because this is technically a breaking change - glob paths now have to be escaped on Windows, which wasn't a requirement previously.

But I'm not very familiar with argument parsing on Windows so I may be mistaken about the impact of this. In which case erring on the side of caution is prudent.

// https://github.com/iqlusioninc/abscissa/blob/7c9ab7976145d2920a99ef00eba845efab3247a1/core/src/application.rs#L171-L177
// so that we could inject wild::args() instead of std::env::args()
// which provides glob expansion on Windows
let args = std::env::args();
Copy link
Member

Choose a reason for hiding this comment

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

Seems like you didn't actually use wild::args?

@Shnatsel
Copy link
Member Author

Shnatsel commented Jan 6, 2023

I'm having second thoughts about this being the right approach, and about glib expansion on Windows in the first place. Maybe it is a reasonable default, but then we'd have to provide a command-line flag to disable it, and that cannot be done at this level of abstraction. I'm just going to close this for now.

@Shnatsel Shnatsel closed this Jan 6, 2023
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.

None yet

2 participants