[GRASS-user] Exiting grass-7.x
Vaclav Petras
wenzeslaus at gmail.com
Thu Sep 8 07:40:59 PDT 2016
On Thu, Sep 8, 2016 at 9:28 AM, Rich Shepard <rshepard at appl-ecosys.com>
wrote:
> I'm curious about the difference in the two exit choice buttons displayed
> when ctrl-q (or File->Quit) is used to exit grass. The dialog box asks "Do
> you want to quit GRASS including shell prompt or just close the GUI?"
>
>
One just ends the GUI process, the other ends the GUI, ends all the other
GUIs and exits the whole GRASS GIS session.
> When I click on the rightmost button (Quit GRASS GIS) the GUI displays
> but
> the shell prompt remains.
>
That's a bug.
>
> It's no problem to type 'exit' at the prompt and return to the bash
> shell,
> so I'm curious if the same behavior regardless of which choice (other than
> cancel) is made is deliberate.
>
It works for me on Ubuntu. The know issue is that it does not work on Mac
OS X.
If you want to debug it: The whole system is based on sending signals and
managed through GUI_PID and PID variables which you get from g.gisenv. It
lives in the following files:
gui/wxpython/lmgr/frame.py
gui/wxpython/core/utils.py
lib/init/grass.py
Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160908/98faa7a7/attachment.html>
More information about the grass-user
mailing list