Skip to content
Permalink
Browse files

fixed #5644

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@195 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf
volayaf committed May 29, 2012
1 parent 65357b2 commit fb00f671bb1ac6979f59574fe3c9fa3a97828754
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/sextante/grass/GrassUtils.py
@@ -237,6 +237,8 @@ def executeGrass(commands, progress):
GrassUtils.createGrassScript(commands)
command = ["cmd.exe", "/C ", GrassUtils.grassScriptFilename()]
else:
gisrc = SextanteUtils.userFolder() + os.sep + "sextante.gisrc"
os.putenv("GISRC", gisrc)
os.putenv("GRASS_BATCH_JOB", GrassUtils.grassBatchJobFilename())
GrassUtils.createGrassBatchJobFileFromGrassCommands(commands)
os.chmod(GrassUtils.grassBatchJobFilename(), stat.S_IEXEC | stat.S_IREAD | stat.S_IWRITE)

0 comments on commit fb00f67

Please sign in to comment.
You can’t perform that action at this time.