[GRASS-SVN] r39434 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 7 22:31:11 EDT 2009


Author: glynn
Date: 2009-10-07 22:31:11 -0400 (Wed, 07 Oct 2009)
New Revision: 39434

Modified:
   grass/trunk/lib/gis/parser.c
Log:
Python 2.6 tries to execute argv[0]


Modified: grass/trunk/lib/gis/parser.c
===================================================================
--- grass/trunk/lib/gis/parser.c	2009-10-08 02:30:00 UTC (rev 39433)
+++ grass/trunk/lib/gis/parser.c	2009-10-08 02:31:11 UTC (rev 39434)
@@ -1894,7 +1894,7 @@
 
     sprintf(script, "%s/etc/wxpython/gui_modules/menuform.py",
 	    getenv("GISBASE"));
-    G_spawn(getenv("GRASS_PYTHON"), "menuform.py", script, st->pgm_path, NULL);
+    G_spawn(getenv("GRASS_PYTHON"), getenv("GRASS_PYTHON"), script, st->pgm_path, NULL);
 }
 
 /**************************************************************************



More information about the grass-commit mailing list