Navigation Menu

Skip to content

Commit

Permalink
fixed grass launching. Should work now without problems. Still have t…
Browse files Browse the repository at this point in the history
…o write something to get output info to update progress bar

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@104 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Apr 16, 2012
1 parent 659eb17 commit 3eaa0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sextante/grass/GrassUtils.py
Expand Up @@ -230,7 +230,7 @@ def executeGrass(commands, progress):
os.putenv("GRASS_BATCH_JOB", GrassUtils.grassBatchJobFilename())
GrassUtils.createGrassBatchJobFileFromGrassCommands(commands)
os.chmod(GrassUtils.grassBatchJobFilename(), stat.S_IEXEC | stat.S_IREAD | stat.S_IWRITE)
command = ["grass64", GrassUtils.grassMapsetFolder()]
command = "grass64 " + GrassUtils.grassMapsetFolder() + "/user"
loglines = []
loglines.append("GRASS execution console output")
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE,stderr=subprocess.STDOUT, universal_newlines=True).stdout
Expand Down

0 comments on commit 3eaa0bc

Please sign in to comment.