|
From: Allin C. <cot...@wf...> - 2015-08-25 04:10:19
|
I've built current CVS gnuplot and wxWidgets 3.0.2 for OS X and most things are working fine, but with one puzzling anomaly and I wonder if anyone has some insight. Calling gnuplot with a script argument: the script sets term = wxt, puts up a 3D plot, and ends with "pause mouse close". If I do this directly from a Terminal window it works fine, and I get to manipulate the plot with the mouse. But if I do the same thing programmatically (using the GLib function g_spawn_async) the wxt window appears momentarily, with the plot looking OK so far as I can tell, then disappears right away. The GLib call seems to be correct; it works as intended on Linux. Somehow on OS X the "pause mouse close" isn't preventing the termination of the gnuplot process. (No complaints on stderr.) -- Allin Cottrell Department of Economics Wake Forest University |