From: sfeam <sf...@us...> - 2014-02-08 04:24:11
|
On Saturday, 08 February 2014 03:01:09 AM Mojca Miklavec wrote: > On Fri, Feb 7, 2014 at 10:03 PM, Thomas Bleher wrote: > > - Does it work if you start gnuplot_qt manually? The qt terminal can > > connect to already running programs. To do this: > > - start gnuplot_qt > > - determine its pid > > - start gnuplot > > - call 'set terminal qt widget "qtgnuplot<pid>"', where <pid> is > > replaced by the numerical pid of the gnuplot_qt process > > - Try to plot something, e.g. "plot x" > > Yes, that works. > > Mojca That's kind of unexpected. In that case it seems that all you need to do is figure out what differs in those two initialization paths, and the fix should be evident. Could it be as simple as timing? Maybe just wait 1 second before leaving execGnuplotQt(). If that works we can worry about changing it to a proper test that the newly created process is now running. Ethan |