Explorar o código

This fixes the bug in which the GUI does not automatically launch at startup. It uses the syntax that is clearly working correctly at line 432 to launch gis_set.py for launching the rest of the GUI at line 599. Please test on other platforms.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41134 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton %!s(int64=15) %!d(string=hai) anos
pai
achega
d1f55583c0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lib/init/functions.sh

+ 2 - 1
lib/init/functions.sh

@@ -596,7 +596,8 @@ start_gui()
         
         # Check for gui interface
         wxpython)
-            "$GISBASE/etc/wxpython/wxgui.py"
+            eval '"$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py"'
+#            "$GISBASE/etc/wxpython/wxgui.py"
             ;;
     
         # Ignore others