[GRASS-dev] GRASS_BATCH_JOB vs GUI

William Kyngesburye woklist at kyngchaos.com
Fri Apr 4 20:50:02 EDT 2008


I was discussing with someone running GRASS in batch mode, and it's  
not clear what is possible with respect to X11, display windows, TclTk  
or Python.

I see that in init.sh, a batch script is forced to run in text mode.   
Still, a module run without options (intentionally or not) would try  
to bring up a TclTk window and require user interaction, thus  
potentially disrupting the flow of the script.

Certainly running either the TclTk or Python GUIs in a batch script is  
not desirable, but maybe there are possibilities I don't see?

Display windows may be useful in a batch script - or not?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those  
least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy




More information about the grass-dev mailing list