[GRASS-user] turning grass.commands quiet

Moritz Lennert mlennert at club.worldonline.be
Wed Jul 2 08:25:15 PDT 2014


On 02/07/14 13:04, Martin Landa wrote:
> 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


Or use the --quiet parameter.

Moritz


More information about the grass-user mailing list