Headless and
Batch Operation
Often it is desirable to run scripts in the “background” so that you do not see the
interactions or tables or graphics, but instead have the appropriate functions executed
or .png files created. Most math scripts do not write to the screen, so this is not
an issue. If you call higher level functions, there is the potential that some
dialogs may appear, especially if there are errors. ListSelection tries to figure
out how you are running a script and will only print messages if you are running it in
the background, but show message dialogs if your are running in the foreground.
This means that you can get different message dialog behavior if you run a script from
HEC-DSSVue that accesses ListSlection than if you run it in a batch mode.
More: