Skip to content
Permalink
Browse files

Fix processing errors on startup and execution on MacOS (#5769)

  • Loading branch information
timlinux committed Nov 30, 2017
1 parent f5702ab commit f6acf3763758cc0b37cfbe31da9bdbd45baafddb
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -105,7 +105,7 @@ def installedVersion(run=False):
si.wShowWindow = subprocess.SW_HIDE
with subprocess.Popen(
[Grass7Utils.command, '-v'],
shell=False,
shell=True if isMac() else False,
stdout=subprocess.PIPE,
stdin=subprocess.DEVNULL,
stderr=subprocess.STDOUT,
@@ -359,7 +359,7 @@ def executeGrass(commands, feedback, outputCommands=None):

with subprocess.Popen(
command,
shell=False,
shell=True if isMac() else False,
stdout=subprocess.PIPE,
stdin=subprocess.DEVNULL,
stderr=subprocess.STDOUT,
@@ -388,7 +388,7 @@ def executeGrass(commands, feedback, outputCommands=None):
command, grassenv = Grass7Utils.prepareGrassExecution(outputCommands)
with subprocess.Popen(
command,
shell=False,
shell=True if isMac() else False,
stdout=subprocess.PIPE,
stdin=subprocess.DEVNULL,
stderr=subprocess.STDOUT,

0 comments on commit f6acf37

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