Skip to content
Permalink
Browse files

fixed progress tracking in linux

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@226 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf
volayaf committed Jun 5, 2012
1 parent 69e588c commit cd7316916e0046c4484f742fa9cf5e51d80730d4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/sextante/grass/GrassUtils.py
@@ -239,6 +239,7 @@ def executeGrass(commands, progress):
else:
gisrc = SextanteUtils.userFolder() + os.sep + "sextante.gisrc"
os.putenv("GISRC", gisrc)
os.putenv("GRASS_MESSAGE_FORMAT", "gui")
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 cd73169

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