Browse Source

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 năm trước cách đây
mục cha
commit
d1f55583c0
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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