-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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.openExternal not work at ubuntu21.04 #31485
Comments
Please use |
This might be #28436? |
I am having the same problem with electron https://gist.github.com/5fb97f76b4a83861673125a921ab88be It creates the following output when run on Ubuntu 21.10:
Changing the argument from |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
This issue is still present in electron v21.0.1. |
This issue is still present in electron v21.1.0 |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
This issue is still present in Electron v25.3.0 and v26.0.0-beta5 on Ubuntu 23.04. |
Based on the error message, I would assume that it isn't. It looks like electron is invoking |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Still present in 27.0.2 and 28.0.0-alpha.4 on Ubuntu 23.04. Same behavior - |
After inserting some logging into |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Was able to reproduce the issue in Ubuntu 24.04 LTS Ref: electron/electron#31485
Was able to reproduce the issue in Ubuntu 24.04 LTS (using latest Electron 30.0.6) |
Preflight Checklist
Electron Version
13.1.6
What operating system are you using?
Ubuntu
Operating System Version
ubuntu21.04
What arch are you using?
x64
Last Known Working Electron version
15.2.0
Expected Behavior
run shell.openExternal(url)
open a file
Actual Behavior
run shell.openExternal(url)
log
`
xdg-open - opens a file or URL in the user's preferred application
Synopsis
xdg-open { file | URL }
xdg-open { --help | --manual | --version }
Use 'man xdg-open' or 'xdg-open --manual' for additional info.
`
then nothing happen
but its work when I use childProcess.exec('xdg-open ' + url)
url is a file path
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: