[GRASS-SVN] r37705 - grass/branches/develbranch_6/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 2 15:13:38 EDT 2009


Author: hamish
Date: 2009-06-02 15:13:38 -0400 (Tue, 02 Jun 2009)
New Revision: 37705

Modified:
   grass/branches/develbranch_6/lib/init/init.bat
Log:
patch from jef for osgeo bug # 83 (can't access terminal until tcltk gui exit)

Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat	2009-06-02 14:28:54 UTC (rev 37704)
+++ grass/branches/develbranch_6/lib/init/init.bat	2009-06-02 19:13:38 UTC (rev 37705)
@@ -108,12 +108,14 @@
 rem if return ok, gis.m start:
 if %errorlevel% == 2 goto exitinit
 
+rem Does line 42 above mean that GRASS_WISH will always be set?
 if not "%GRASS_WISH%"=="" (
-	"%GRASS_WISH%" "%WINGISBASE%\etc\gm\gm.tcl"
+	start /b "GRASS Tcl/Tk" "%GRASS_WISH%" "%WINGISBASE%\etc\gm\gm.tcl"
 ) else (
-	"%WINGISBASE%\etc\gm\gm.tcl"
+	start /b "GRASS Tcl/Tk" "%WINGISBASE%\etc\gm\gm.tcl"
 )
 
+rem Will redirecting output to NUL hide legitamite error messages, harming debugging?
 "%WINGISBASE%\etc\clean_temp" > NUL:
 
 goto exitinit



More information about the grass-commit mailing list