Skip to content
Permalink
Browse files

Update Grass7Utils.py

Related to https://issues.qgis.org/issues/20632
This seems to solve this issue, but I don't really know if this change may be introducing some collateral effect.
It should be revised by someone with good knowledge of this piece of code.
  • Loading branch information
juanmpd committed Nov 27, 2018
1 parent 6cc41a9 commit 9b61eb8b71876fa36cbae6d9c0be78cac22824bc
Showing with 5 additions and 0 deletions.
  1. +5 −0 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -400,6 +400,11 @@ def executeGrass(commands, feedback, outputCommands=None):
# commands again.
if not grassOutDone and outputCommands:
command, grassenv = Grass7Utils.prepareGrassExecution(outputCommands)
# For MS-Windows, we need to hide the console window.
if isWindows():
si = subprocess.STARTUPINFO()
si.dwFlags |= subprocess.STARTF_USESHOWWINDOW
si.wShowWindow = subprocess.SW_HIDE
with subprocess.Popen(
command,
shell=False,

0 comments on commit 9b61eb8

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