|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-06 08:07:04
|
On Tue, 5 Oct 2004, Levinthal, David A wrote:
> I can't figure out how to get the gnuplot process to terminate at the
> end of my application..The x window remains open and the process hangs
> at the end.. the fprintf's to stderr seem to imply all is well..but the
> xwindow is persistant and the application cannot exit
Of course it's persistant --- your code *explicitly* asked for that,
see:
> fgnuplot = popen("/usr/bin/gnuplot -persist",
> "w");
If you don't want the window to remain open after the pipe closed,
don't use -persist. It's as simple as that.
--
Hans-Bernhard Broeker (br...@ph...)
Even if all the snow were burnt, ashes would remain.
|