[GRASS-dev] [GRASS GIS] #3740: The GRASS session is "leaking" to the environment

GRASS GIS trac at osgeo.org
Mon Jan 28 13:04:38 PST 2019


#3740: The GRASS session is "leaking" to the environment
--------------------------+-------------------------
  Reporter:  pmav99       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Startup      |    Version:  svn-trunk
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [comment:2 pmav99]:
 > OK, after writing `exit` on the console, the GRASS session finally
 exits.

 The script `run_gui.sh` calls grass77 which establishes a GRASS session on
 the command line. The GUI is only started with grass77 --gui, or if the
 stored settings indicate that the last time GRASS was started with a GUI.
 That means the name `run_gui.sh` is misleading because it establishes a
 GRASS session on the command line and maybe starts the GUI, maybe not. In
 order to terminate the script grass77 and thus leave the GRASS session,
 you need to type `exit` in the command line. This has been standard GRASS
 behaviour for decades.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3740#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list