[GRASSLIST:637] start non interactively

Hi all grass users,

I'm looking for a procedure to start grass non interactively, and use thes with
a script as it takes a long time to wait for the process to finish.
So is there a way to give all parameters (mapset.. proj type, default region, )
via bash shell ?

Thanks, Michele.

michele.rocc wrote:

I'm looking for a procedure to start grass non interactively, and use thes with
a script as it takes a long time to wait for the process to finish.
So is there a way to give all parameters (mapset.. proj type, default region, )
via bash shell ?

One option is to set the environment variable SHELL to the path to
your script, and invoke "grass5" with the path to the mapset directory
e.g.

  SHELL=/path/to/script grass5 /opt/grass-data/spearfish/michele

--
Glynn Clements <glynn.clements@virgin.net>