[GRASS-user] turning grass.commands quiet
Martin Landa
landa.martin at gmail.com
Wed Jul 2 04:04:52 PDT 2014
Hi,
2014-07-02 3:50 GMT+02:00 Milton Ribeiro <miltinho.astronauta at gmail.com>:
> Is there a way of the grass commands not send any messages while running?
yes, set up environmental variable GRASS_VERBOSE to 0, or -1 (also
error messages will suppressed in this case).
bash:
export GRASS_VERBOSE=0
python:
os.environ['GRASS_VERBOSE'] = '0'
> I tryed g.gisenv set="DEBUG=0" but I would like none messages during command
> execute.
GRASS variable DEBUG controls just debug messages. Martin
--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
More information about the grass-user
mailing list