Update Grass7Utils.py

This commit is contained in:
juanmpd 2018-11-27 13:33:15 +01:00 committed by GitHub
parent 9b61eb8b71
commit 31f3f69d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,6 +413,7 @@ class Grass7Utils:
stderr=subprocess.STDOUT,
universal_newlines=True,
env=grassenv,
encoding="cp{}".format(Grass7Utils.getWindowsCodePage()) if isWindows() else None,
startupinfo=si if isWindows() else None
) as proc:
for line in iter(proc.stdout.readline, ''):