Correctly write out a sub-process's stdout
when using Python 3.
This commit is contained in:
parent
4e87eaa795
commit
58bec60ecd
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class Buildozer(object):
|
|||
ret_stdout.append(chunk)
|
||||
if show_output:
|
||||
if IS_PY3:
|
||||
stdout.write(str(chunk))
|
||||
stderr.write(chunk.decode('utf-8'))
|
||||
else:
|
||||
stdout.write(chunk)
|
||||
if fd_stderr in readx:
|
||||
|
|
Loading…
Reference in a new issue