[GRASS-user] GRASS BATCH JOBS

Glynn Clements glynn at gclements.plus.com
Mon May 26 13:09:20 EDT 2008


jessica.gervais at tudor.lu wrote:

> I am trying to run a grass script in batch mode.
> I was wondering if grass should be closed automatically after the run of
> the command or if I would need to use a certain command to close GRASS
> (unset GRASS_BATCH_JOB).

GRASS will quit automatically.

> What does happens for the ".gislock" file ?
> Is this file generated if I launch grass in Batch mode ?

Yes.

> Is this file deleted only if the command "unset GRASS_BATCH_JOB" has been
> executed ?

No.

If GRASS_BATCH_JOB is set, it is run instead of a shell. Other than
that, the session startup and shutdown behave as for an interactive
session.

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


More information about the grass-user mailing list