Skip to content

Commit 31f3f69

Browse files
authoredNov 27, 2018
Update Grass7Utils.py
1 parent 9b61eb8 commit 31f3f69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎python/plugins/processing/algs/grass7/Grass7Utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ def executeGrass(commands, feedback, outputCommands=None):
413413
stderr=subprocess.STDOUT,
414414
universal_newlines=True,
415415
env=grassenv,
416+
encoding="cp{}".format(Grass7Utils.getWindowsCodePage()) if isWindows() else None,
416417
startupinfo=si if isWindows() else None
417418
) as proc:
418419
for line in iter(proc.stdout.readline, ''):

0 commit comments

Comments
 (0)
Please sign in to comment.