You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I can reproduce this. I tried this in pure gnuplot, and it happened there too for the qt terminal, but not for x11 and wxt. I.e. running this script:
set terminal qt
plot x**2
pause mouse close
quit
gnuplot -p test.gnuplot
Also leaves a dangling gnuplot_qt process. It could be a gnuplot bug, or I (once again) don't understand how the -p option is meant to work.
I confirmed that this happens for qt while x11 works well.
So I work around by switching the terminal to x11 each time in my rust program.
Hmm, I can reproduce this. I tried this in pure gnuplot, and it happened there too for the qt terminal, but not for x11 and wxt. I.e. running this script:
set terminal qt
plot x**2
pause mouse close
quit
gnuplot -p test.gnuplot
Also leaves a dangling gnuplot_qt process. It could be a gnuplot bug, or I (once again) don't understand how the -p option is meant to work.
to be sure, I built from source, and checkinstalled newer version of gnuplot - looks like there are no gnuplot zombie processes generated in my system now, at least for my code.
I wrote a program that uses gnuplot to plot data. After the program terminates normally there will remain a running gnuplot_qt process.
The code of the minimum test program is
Before running the program, I run following commands to ensure that all previously running gnuplot have already been killed:
Then I run the program as
Then the gnuplot window appears and I close it manually.
Then the program exits normally.
I check the process by using
It shows that there is a running gnuplot_qt process.
I repeatly run my program and more gnuplot_qt will appear and keep running if I leave them alone.
The version of gnuplot crate I use is 0.0.37 and the gnuplot version in my system is
gnuplot 5.2 patchlevel 8
The text was updated successfully, but these errors were encountered: