Browse Source

fix start_gui

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37879 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 years ago
parent
commit
56514de56c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/init/grass.py

+ 2 - 1
lib/init/grass.py

@@ -591,7 +591,8 @@ def start_gui():
     
     # Check for gui interface
     if grass_gui == "wxpython":
-	call([gfile("etc", "wxpython", "wxgui.py")])
+	call([os.getenv('GRASS_PYTHON'),
+              gfile("etc", "wxpython", "wxgui.py")])
 
 def clear_screen():
     if windows: