Merge pull request #276 from cruor99/fix-utf8-error-on-output
Fix unicode error introduced in latest macOS
This commit is contained in:
commit
bce521ef9b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def shprint(command, *args, **kwargs):
|
|||
kwargs["_out_bufsize"] = 1
|
||||
kwargs["_err_to_out"] = True
|
||||
for line in command(*args, **kwargs):
|
||||
stdout.write(line)
|
||||
stdout.write(line.encode("ascii", "replace").decode())
|
||||
|
||||
|
||||
def cache_execution(f):
|
||||
|
|
Loading…
Reference in a new issue