mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
Update Grass7Utils.py
This commit is contained in:
parent
9b61eb8b71
commit
31f3f69d3c
@ -413,6 +413,7 @@ class Grass7Utils:
|
|||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
universal_newlines=True,
|
universal_newlines=True,
|
||||||
env=grassenv,
|
env=grassenv,
|
||||||
|
encoding="cp{}".format(Grass7Utils.getWindowsCodePage()) if isWindows() else None,
|
||||||
startupinfo=si if isWindows() else None
|
startupinfo=si if isWindows() else None
|
||||||
) as proc:
|
) as proc:
|
||||||
for line in iter(proc.stdout.readline, ''):
|
for line in iter(proc.stdout.readline, ''):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user