Fix unicode error introduced in latest macOS
This commit is contained in:
parent
822c712956
commit
ac5c67e748
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