-
-
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
option to force isinteractive=true at startup #6765
Comments
Yes this would be nice. I also observed this when working on Julietta.jl and implementing a Gtk-based terminal. |
Might be too much to hope for, but it would be nice to get rid of |
One use case I have is when I want to run a Gtk.jl application script. In non-interactive mode one has to add I usually put
at the end of my Gtk.jl applications |
As a temporary solution, can't you do: eval(Base, :(is_interactive = true)) |
seems to work. |
Right, that works. But it might still be nice to have this for the |
Currently,
isinteractive()
returnsfalse
in IJulia (JuliaLang/IJulia.jl#173), and there is no way to change this because it is controlled by theBase.is_interactive
global, which can't be changed outside ofBase
.It might be good to have a way to force
is_interactive=true
by a command-line flag when Julia is started. You want to do this at startup, I think, because ideally it should be set beforeload_juliarc()
is called.The text was updated successfully, but these errors were encountered: