diff --git a/toolchain.py b/toolchain.py index 133bac6..fcea038 100755 --- a/toolchain.py +++ b/toolchain.py @@ -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):