Skip to content

Commit

Permalink
fixed progress tracking in linux
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@226 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Jun 5, 2012
1 parent 69e588c commit cd73169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sextante/grass/GrassUtils.py
Expand Up @@ -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)
Expand Down

0 comments on commit cd73169

Please sign in to comment.