[GRASS-SVN] r42535 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 9 08:33:47 EDT 2010


Author: martinl
Date: 2010-06-09 08:33:46 -0400 (Wed, 09 Jun 2010)
New Revision: 42535

Modified:
   grass/trunk/lib/init/grass.py
Log:
#1074 - patch by alf applied (modified)


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2010-06-09 10:08:17 UTC (rev 42534)
+++ grass/trunk/lib/init/grass.py	2010-06-09 12:33:46 UTC (rev 42535)
@@ -613,10 +613,10 @@
 	    # right file, but ...
 	    fatal(_("Change file permission to 'executable' for '%s'") % batch_job)
 	else:
-	    message(_("Executing '%s' ...") % batch_job)
+	    message(_("Executing '%s'...") % batch_job)
 	    grass_gui = "text"
-	    shell = batch_job
-
+	    Popen(batch_job, shell = True)
+    
 def start_gui():
     # Start the chosen GUI but ignore text
     if grass_debug:



More information about the grass-commit mailing list