[GRASS-dev] [GRASS GIS] #3997: variables.html: mention not to expect --exec g.gisenv to work
GRASS GIS
trac at osgeo.org
Sun Nov 24 19:42:02 PST 2019
#3997: variables.html: mention not to expect --exec g.gisenv to work
-------------------------+---------------------------------
Reporter: jidanni | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: Docs | Version: git-releasebranch78
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+---------------------------------
variables.html says
{{{
Use g.gisenv within GRASS. This permanently predefines GRASS variables
in the $HOME/.grass7/rc file.
}}}
Yes, "within". However it should mention that that won't work with --exec.
Mention with --exec a temporary $GISRC is used:
{{{
$ grass /.../TC46 --exec env
GISRC=/tmp/grass7-jidanni-12382/gisrc
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3997>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list