mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
don't run GRASS commands in shell, that's not working
This commit is contained in:
parent
15435ad56e
commit
3f72e0cd41
@ -106,7 +106,7 @@ class Grass7Utils:
|
||||
si.wShowWindow = subprocess.SW_HIDE
|
||||
with subprocess.Popen(
|
||||
[Grass7Utils.command, '-v'],
|
||||
shell=True if isMac() else False,
|
||||
shell=False,
|
||||
stdout=subprocess.PIPE,
|
||||
stdin=subprocess.DEVNULL,
|
||||
stderr=subprocess.STDOUT,
|
||||
@ -361,7 +361,7 @@ class Grass7Utils:
|
||||
|
||||
with subprocess.Popen(
|
||||
command,
|
||||
shell=True if isMac() else False,
|
||||
shell=False,
|
||||
stdout=subprocess.PIPE,
|
||||
stdin=subprocess.DEVNULL,
|
||||
stderr=subprocess.STDOUT,
|
||||
@ -390,7 +390,7 @@ class Grass7Utils:
|
||||
command, grassenv = Grass7Utils.prepareGrassExecution(outputCommands)
|
||||
with subprocess.Popen(
|
||||
command,
|
||||
shell=True if isMac() else False,
|
||||
shell=False,
|
||||
stdout=subprocess.PIPE,
|
||||
stdin=subprocess.DEVNULL,
|
||||
stderr=subprocess.STDOUT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user