<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 9:28 AM, Rich Shepard <span dir="ltr"><<a target="_blank" href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="gmail-a3s gmail-aXjCH gmail-m15709fbf3c7c9d86" id="gmail-:rg">  I'm curious about the difference in the two exit choice buttons displayed<br>
when ctrl-q (or File->Quit) is used to exit grass. The dialog box asks "Do<br>
you want to quit GRASS including shell prompt or just close the GUI?"<br>
<br></div></blockquote><div><br></div><div>One just ends the GUI process, the other ends the GUI, ends all the other GUIs and exits the whole GRASS GIS session.<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="gmail-a3s gmail-aXjCH gmail-m15709fbf3c7c9d86" id="gmail-:rg">
  When I click on the rightmost button (Quit GRASS GIS) the GUI displays but<br>
the shell prompt remains.<br></div></blockquote><div><br></div><div>That's a bug.<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="gmail-a3s gmail-aXjCH gmail-m15709fbf3c7c9d86" id="gmail-:rg">
<br>
  It's no problem to type 'exit' at the prompt and return to the bash shell,<br>
so I'm curious if the same behavior regardless of which choice (other than<br>
cancel) is made is deliberate.</div></blockquote></div><br></div><div class="gmail_extra">It works for me on Ubuntu. The know issue is that it does not work on Mac OS X.<br><br></div><div class="gmail_extra">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:<br>gui/wxpython/lmgr/frame.py<br>gui/wxpython/core/utils.py<br>lib/init/grass.py<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Vaclav<br></div></div>