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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 24 16:01:09 EDT 2010


Author: neteler
Date: 2010-05-24 16:01:07 -0400 (Mon, 24 May 2010)
New Revision: 42343

Modified:
   grass/trunk/lib/init/grass.py
Log:
fix batch job execution (trac #1074)

Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2010-05-24 14:40:37 UTC (rev 42342)
+++ grass/trunk/lib/init/grass.py	2010-05-24 20:01:07 UTC (rev 42343)
@@ -608,7 +608,7 @@
 	else:
 	    message(_("Executing '%s' ...") % batch_job)
 	    grass_gui = "text"
-	    shell = batch_job
+	    os.system(batch_job)
 
 def start_gui():
     # Start the chosen GUI but ignore text



More information about the grass-commit mailing list