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

tokio support #66

Merged
merged 9 commits into from
Mar 6, 2023
Merged

tokio support #66

merged 9 commits into from
Mar 6, 2023

Conversation

Byron
Copy link
Owner

@Byron Byron commented Mar 6, 2023

Takes parts of #64 and pushes it to completion, with
some additional improvements to documentation on the way.

matoous and others added 7 commits February 5, 2023 18:44
Adds new `command` function that returns the underlying `std::Command`
that would be called to open given path.

Related: #63
Related: helix-editor/helix#5820
Previously it probably went through 5 launers assuming they don't work
before falling back to `xdg-open` which is usually present.

Now it will use the first launcher that it could invoke.
… given path.

This allows async applications to control the application launch in an async way,
for instance with `tokio`.
@Byron Byron mentioned this pull request Mar 6, 2023
@Byron Byron merged commit adf99e9 into main Mar 6, 2023
@Byron Byron deleted the tokio-support branch March 6, 2023 10:06
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