Browse Source

don't hardcode python exe (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37169 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 years ago
parent
commit
ffc7b8eb7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/gis/parser.c

+ 1 - 1
lib/gis/parser.c

@@ -1866,7 +1866,7 @@ static void G_gui_wx(void)
 
     sprintf(script, "%s/etc/wxpython/gui_modules/menuform.py",
 	    getenv("GISBASE"));
-    G_spawn("python", "menuform.py", script, st->pgm_name, NULL);
+    G_spawn(getenv("GRASS_PYTHON"), "menuform.py", script, st->pgm_name, NULL);
 }
 
 /**