-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[bug]: shell.open
doesn't detach the launched process
#6849
Comments
You could specify
The regex is only validating the path/url to be opened not the app to open with.
Yeah this is definitely a bug that needs to be addressed upstream in |
shell.open
doesn't detach the launched process
Please go ahead and get in touch with us on Discord if you need any help or directions. |
@Uzaaft could you post your |
this will be fixed in the shell plugin for v2 |
* feat(shell): ensure launched processes are detached ref: tauri-apps/tauri#6849 * change file
* feat(shell): ensure launched processes are detached ref: tauri-apps/tauri#6849 * change file Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/5454181452 Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Describe the problem
First and foremost: This might not be an issue with the API of Tauri, but rather how I used the API. But I've looked at the docs, and can't seem to solve this with the current API being provided, so that's why I'm opening this feature request.
I find the current method, where we use the shell api in Tauri to open files etc lacking in several areas:
Describe the solution you'd like
I'm proposing creating a new command, under the fs API, where we can open a file with the default System app, instead of the current method that's in the docs, which matches to a regex pattern. Something with an API like:
With no matching against a regex. We simply use the default system app.
Alternatives considered
No response
Additional context
If the maintainers of Tauri is open to the idea, I'd like to implement it myself to get the practice and experience.
The text was updated successfully, but these errors were encountered: