Преглед изворни кода

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 пре 15 година
родитељ
комит
d1f55583c0
1 измењених фајлова са 2 додато и 1 уклоњено
  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