If I invoke Octave to plot something, it needs the interactive prompt to stay running and show the plot.
When running from the command line, the --persist option will force Octave to keep open after all Octave commands are executed, so I can see and manipulate the plot.
--persist Go interactive after --eval or reading from FILE.
However, when I invoke Octave from a non-interactive shell script, it cannot enter interactive mode, does not react to --persist command line option, nor the pause() command inside Octave scripts.
Is there any way to allow Octave invisibly stay interactive, if invoked from a shell script?