[GRASS-dev] Re: [grass-code I][478] tcl/tk gui startup screen launches grass even when 'Exit' is pushed

Moritz Lennert mlennert at club.worldonline.be
Wed Dec 5 02:47:56 EST 2007


On 05/12/07 07:11, grass-dev at lists.osgeo.org wrote:
> code I item #478, was opened at 2007-09-07 06:40
> Status: Open
> Priority: 3
> Submitted By: Moritz Lennert (moritz)
> Assigned to: Māris Nartišs (marisn)
> Summary: tcl/tk gui startup screen launches grass even when 'Exit' is pushed 
> Issue type: other bug
> Issue status: confirmed
> GRASS version: CVS HEAD
> GRASS component: startup
> Operating system: Linux
> Operating system version: 
> GRASS CVS checkout date, if applies (YYMMDD): 070903
> 
> 
>> Comment By: Michael Barton (michael)
> Date: 2007-12-04 23:11
> 
> Message:
> This is fixed on Mac. Could someone please check on other platforms so that this bug can be closed.

I fixed it for windows by using the returned error level 2:

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/init/init.bat.diff?r1=1.9&r2=1.9.2.1

However, there was some debate about whether this was the correct error 
code to use.

Moritz


More information about the grass-dev mailing list