[GRASS-dev] [GRASS GIS] #3963: Document turning off progress messages on batch jobs

#3963: Document turning off progress messages on batch jobs
-------------------------+-------------------------
Reporter: jidanni | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: Docs | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
On https://grass.osgeo.org/grass79/manuals/grass7.html , regarding running
batch jobs, it needs to be mentioned
how to suppress these six verbose lines,
{{{
$ grass --exec true 2>&1 | nl
      1 Starting GRASS GIS...
      2 Cleaning up temporary files...
      3 Executing <true> ...
      4 Execution of <true> finished.
      5 Cleaning up default sqlite database ...
      6 Cleaning up temporary files...
}}}

in order to have a clean running batch job, (e.g., one that could be
run by cron without sending the user an email message due to errors.)

Alas, the grass man page does not list a --quiet option.

Sure, the man page could simply say to use 2>&- or 2>/dev/null,
but that would also wipe out real error messages.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3963&gt;
GRASS GIS <https://grass.osgeo.org>

#3963: Document turning off progress messages on batch jobs
--------------------------+---------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.2
Component: Python | Version: git-releasebranch78
Resolution: | Keywords: grass.py
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by neteler):

* priority: trivial => normal
* keywords: => grass.py
* version: unspecified => git-releasebranch78
* component: Docs => Python
* milestone: => 7.8.2

Comment:

Yes, a `--quiet` flag would be great for the `grass7x` start script.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3963#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3963: Document turning off progress messages on batch jobs
--------------------------+---------------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.2
Component: Python | Version: git-releasebranch78
Resolution: | Keywords: grass.py exec batch quiet
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by wenzeslaus):

* keywords: grass.py => grass.py exec batch quiet

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3963#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>