[GRASS-dev] [GRASS GIS] #3009: "Quit GRASS GIS" button only exits GUI

GRASS GIS trac at osgeo.org
Thu Jul 16 00:03:43 PDT 2020


#3009: "Quit GRASS GIS" button only exits GUI
--------------------------+-------------------------------------
  Reporter:  cmbarton     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.8.3
 Component:  wxGUI        |    Version:  unspecified
Resolution:               |   Keywords:  "quit grass gis button"
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------------------

Comment (by nila):

 This issue has been solved for bash and zsh terminal with
 [https://github.com/OSGeo/grass/pull/722 PR722].

 The cause of the problem is that some shells often ignore SIGTERM when
 interactive, which is the case - as it seems - for e.g. mac and FreeBSD
 shells.

 Adding a `trap "exit" TERM` did the trick.

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



More information about the grass-dev mailing list