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

Revert usage of Command::new(explorer) to ShellExecuteW #27

Merged
merged 3 commits into from
Mar 3, 2021
Merged

Revert usage of Command::new(explorer) to ShellExecuteW #27

merged 3 commits into from
Mar 3, 2021

Conversation

hybras
Copy link
Contributor

@hybras hybras commented Mar 3, 2021

This restores the previous behavior on windows, and sticks to the recommended way of opening files on windows.

@Byron Byron merged commit b58fa52 into Byron:master Mar 3, 2021
@Byron
Copy link
Owner

Byron commented Mar 3, 2021

Thanks a lot for your help - v1.5.1 was just released.

matoous added a commit to matoous/open-rs that referenced this pull request Feb 5, 2023
Use std `Command` instead of `ShellExecuteW` from windows sys crate.

This change was already attempted in: Byron#25
and later reverted in: Byron#27
and it it seems that it didn't work due to incorrect usage of
`explorer` instead of `cmd /c start`.
(see helix-editor/helix#5820 (comment)
for detailed explanation).

Related: helix-editor/helix#5820
@matoous matoous mentioned this pull request Feb 5, 2023
1 task
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