-
Notifications
You must be signed in to change notification settings - Fork 333
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
Shell open can't open file if the file is being used by a program on Windows #1003
Comments
I kind of disagree with the author that Anyways, I don't want to switch to I think I will switch our windows implementation to use Also #999 is currently being worked on in https://github.com/tauri-apps/plugins-workspace/tree/feat/shell-show-item-in-dir |
Would you be willing to contribute the Your usecase would be reason enough to even consider some standalone-windows-only-special-case that can be used for exactly these occasions. Making |
Thank you for considering, I personally would like to keep using
yes, I can open a PR sometime later |
There's a hanging PR on switching to windows crate Seeker14491/opener#28 Anyway, if we can support this in open, that'll be great as open has way fewer dependencies
It's great to see it being worked on! |
* chore(deps): update to `open-rs@5.1` ref: #1003 * changefile
open
from shell plugin can't open file if the file is being used by a program on Windows, for example, the log file from the log pluginWe're currently using open to handle open files in shell plugin, and this is a bug in that crate
I have discussed with the author of open on Byron/open-rs#90 and we both think maybe it's better to use opener (this crate is used by rustup by the way) for this case
But this crate doesn't support open with specific program, so maybe if we still want to support that, we can use opener for handling default open, and open for open with specific program
Another added benefit is that we can add reveal from opener, as it's a highly requested feature #999
The text was updated successfully, but these errors were encountered: