瀏覽代碼

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
         # Check for gui interface
         wxpython)
         wxpython)
-            "$GISBASE/etc/wxpython/wxgui.py"
+            eval '"$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py"'
+#            "$GISBASE/etc/wxpython/wxgui.py"
             ;;
             ;;
     
     
         # Ignore others
         # Ignore others