Browse Source

https://trac.osgeo.org/grass/ticket/1074 - patch by alf applied (modified)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42535 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 years ago
parent
commit
2d93023f00
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/init/grass.py

+ 3 - 3
lib/init/grass.py

@@ -613,10 +613,10 @@ def check_batch_job():
 	    # 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: