-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use open
to open Julia REPL in macOS default terminal
#43111
Conversation
Most macOS developers use third-party terminal apps (e.g. iTerm2) to replace macOS's default terminal. Current implementation will always open built-in terminal to execute Julia REPL, which is not good enough.
This seems nice! Would be nice if we can get quick reviews from folks who know more about applescript than me. |
Ah, that's very nice! It seems to work correctly for me. Do you know what determines this? Previously we had looked at different things but came to the conclusion that Mac OS didn't have the notion of a default terminal (#24906). |
Ah, it seems to be due to the |
Will this work reliably on older releases of macOS from about 2013 or so? |
I would think so (the link above is from 2011), but I'm not sure how we could check. |
I suppose we have adequate time to test this out over the 1.8 release cycle. In the worst case, it should at least open Julia in Terminal. |
Most macOS developers use third-party terminal apps (e.g. iTerm2) to replace macOS's default terminal. Current implementation will always open built-in terminal to execute Julia REPL, which is not good enough. By using
open
command, macOS will automatically use the user-default terminal to execute Julia executable