[GRASS-dev] Add operations/functions when closing

Glynn Clements glynn at gclements.plus.com
Mon Apr 5 18:13:24 EDT 2010


Franz Schiller wrote:

> > > I would like to know If I can add operations/functions to the closing
> > > function of GRASS (e.g. delete temporary files or resetting files)
> > > If it0s possible, how can I do that? Or where shall I add code/functions?
> >
> > $GISBASE/etc/Init.sh.
> 
> Ok Thanks Glynn.. I suppose that ending/closing code is from "trap 2 3 15
> "aproximately at line 996. Right?

Yes.

> SO at that point I can still use grass
> scripts and commands? (e.g. r.in.gdal or export rotines)?

Yes.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list