We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cf1917 + d9b896a commit cb109dcCopy full SHA for cb109dc
utils/swift_build_support/swift_build_support/shell.py
@@ -228,8 +228,10 @@ def run(*args, **kwargs):
228
my_pipe = subprocess.Popen(
229
*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
230
universal_newlines=True,
231
+ encoding='utf-8',
232
**kwargs)
233
(output, _) = my_pipe.communicate()
234
+ output = output.encode(encoding='ascii', errors='replace')
235
ret = my_pipe.wait()
236
237
if lock:
0 commit comments