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
Does not work correctly in sudo mode #271
Comments
Well i assume the default browser of your root user is safari and not chrome. |
Yes, this is mostly like the problem, but how to set default browser for root user, could you give me some help, tks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i run
sudo open http://localhost:80
, it didn't open default browser(chrome) but safari.If remove sudo, it works.
env info:
OS: macOS Catalina 10.15.7
shell: zsh
node version: 12.22.2
open version: 7.0.3
default browser: Chrome 96.0.4664.93
step to reproduce: run
sudo open http://localhost:80
The text was updated successfully, but these errors were encountered: