-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Blink window disappeared soon after it was opened ? #195
Comments
@kailotus I have the same problem too. Running Blink script from the command line doesn't work, though works from Julia REPL. |
You have to make sure that Julia stays alive after your script has run, e.g. by having your last statement be |
@pfitzseb Thank you, it works. But the problem is it also causes the terminal to be hung, cos the computer is waiting for a return value from I will try to work around that. But could there be a neater way to do this? |
I mean you could also try to spawn another Julia process that stays alive even if the explicitly started one dies, but this is fairly standard behaviour. |
We should probably add a |
Is there an issue that relates to this while active(w)
sleep(1)
end Is there a more idiomatic way of doing this, at present? |
I had a similar issue with getting Interact.jl to work with Mux.jl from a script. One way to resolve the issue is to add the following to the end of the script:
Source: JuliaWeb/Mux.jl#73
|
Hello Everyone :
I used Blink to make Julia's GUI application. There is a code (BlinkApp.jl) as follows:
When I use Julia REPL to execute:
Julia> include("BlinkApp.jl")
The Blink window can be displayed normally.
But when I use the MS Windows command prompt and give the command:
C:\Temp>julia BlinkApp.jl
I found that the window flickered and disappeared.
Has anyone ever had such a situation?
By the way, please ask how to solve this problem?
Thank you all.
The text was updated successfully, but these errors were encountered: