[GRASSLIST:641] Re: start non interactively
Glynn Clements
glynn.clements at virgin.net
Mon Jul 7 07:24:52 EDT 2003
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 at virgin.net>
More information about the grass-user
mailing list