On 12/01/2013 08:43 AM, John W. Eaton wrote:
On 12/01/2013 11:29 AM, Rik wrote:
I think the best fix is to make sure that Octave calls the CLI version
whenever a non-interactive invocation of octave is used (--eval without
persist or the name of an m-file to run in batch mode).
The --eval code or the m-file could call functions that display graphics
or UI objects. It might work to run octave-cli, but in the future when
we are using Qt widgets for graphics and UI objects you'll need to have
the version of Octave linked with the GUI libraries.
I wasn't precise enough. I only meant that the GUI itself should not be
invoked. The equivalent of --no-gui is both necessary and sufficient.