fixed progress tracking in linux

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@226 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
This commit is contained in:
volayaf 2012-06-05 10:57:13 +00:00
parent 69e588c930
commit cd7316916e

View File

@ -239,6 +239,7 @@ class GrassUtils:
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)