-
Notifications
You must be signed in to change notification settings - Fork 47
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
How to detect whether the gnuplot terminal is still running? #62
Comments
Currently we interact with gnuplot as follows:
(2) was added to kill zombie I just experimented with this a little bit, and this appears to work:
If you don't do (1), then I guess (1) can be done via |
Hi & thank you for the detailed analysis. I'm fine with whatever solution you prefer. However, a more intuitive solution than having to set the pre and post commands would be preferabl IMHO. I think the best would be a function which just tells whether gnuplot is still running. This would allow for a non blocking wait on gnuplot. |
Yeah, I'll see what can be done. Another issue is that even if I fix this, some things still fail to work correctly with the UI (like multiplot). |
With 52016af, |
I want my rust code to
loop {}
until the plot window is closed. How do I do this?This is needed, as most gnuplot terminals loose control facilities if the their gnuplot process dies, which always happens if the rust program which spawned gnuplot dies. So in order to have that rust program wait for the gnuplot terminal to terminate, one needs to know whether gnuplot is still running.
The text was updated successfully, but these errors were encountered: