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

Open default browser on run #179

Closed
mgautam98 opened this issue Jun 11, 2020 · 7 comments
Closed

Open default browser on run #179

mgautam98 opened this issue Jun 11, 2020 · 7 comments
Labels
almost closed HTTP/WS The connection between backend and frontend

Comments

@mgautam98
Copy link
Contributor

Can we open the default browser with the localhost:port on run?

@mgautam98
Copy link
Contributor Author

I think we can detect the platform and run a system call within julia to open the default browser with the mentioned port.
Can I take this issue?

@fonsp
Copy link
Owner

fonsp commented Jun 11, 2020

Cool! It should just be a single line of code, but I also want it to work for the special case that you are running on WSL. Do you have WSL by any chance?

@mgautam98
Copy link
Contributor Author

Yes, I am running WSL2 I have tested it with WSL2 It works fine.

@fonsp
Copy link
Owner

fonsp commented Jun 11, 2020

Nice! Make it a PR!

@fonsp fonsp added almost closed HTTP/WS The connection between backend and frontend labels Jun 11, 2020
@fonsp fonsp closed this as completed Sep 9, 2020
@fonsp
Copy link
Owner

fonsp commented Sep 9, 2020

Thanks again! Sorry it took so long

@MikaelSlevinsky
Copy link

This is a really cool feature 👍 but I might never change Safari as my default browser. For Pluto, is there a way to try/catch and look for Chrome/Firefox instead of default?

@MikaelSlevinsky
Copy link

Oh I'm sorry, I didn't realize Safari support has been fixed! #289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
almost closed HTTP/WS The connection between backend and frontend
Projects
None yet
Development

No branches or pull requests

3 participants