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

Wrap provided app in quotes on Windows #86

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Wrap provided app in quotes on Windows #86

merged 1 commit into from
Nov 22, 2023

Conversation

xalbd
Copy link
Contributor

@xalbd xalbd commented Nov 22, 2023

When providing an app to open a file, if the user provides a path to the app with a space, Windows attempts to split the path at the space, resulting in unintended behavior.

This PR fixes this issue by wrapping the provided app in double quotes, the same fix applied to resolve a similar issue with file paths in #54.

Further documentation is in #85.

@Byron Byron merged commit 15eedee into Byron:main Nov 22, 2023
5 checks passed
@Byron
Copy link
Owner

Byron commented Nov 22, 2023

Thanks a lot, this should work :).

The fix was also published here: https://github.com/Byron/open-rs/releases/tag/v5.0.1 .

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