Browse Source

reverted https://trac.osgeo.org/grass/changeset/42343 attempt (trac https://trac.osgeo.org/grass/ticket/1074)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42358 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 15 years ago
parent
commit
447bc4f6c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/init/grass.py

+ 1 - 1
lib/init/grass.py

@@ -615,7 +615,7 @@ def check_batch_job():
 	else:
 	else:
 	    message(_("Executing '%s' ...") % batch_job)
 	    message(_("Executing '%s' ...") % batch_job)
 	    grass_gui = "text"
 	    grass_gui = "text"
-	    os.system(batch_job)
+	    shell = batch_job
 
 
 def start_gui():
 def start_gui():
     # Start the chosen GUI but ignore text
     # Start the chosen GUI but ignore text