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.
1 parent fe38869 commit f2ea5bfCopy full SHA for f2ea5bf
command_runner/__init__.py
@@ -839,9 +839,11 @@ def __check_timeout(
839
if stdout_destination == "queue":
840
stdout.put(line)
841
if live_output:
842
- # We need to use sys.stdout.buffer instead of sys.stdout to allow binary output to console
843
- # without any translation that is done by sys.stdout.write()
844
- sys.stdout.buffer.write(line)
+ if encoding == False:
+ # We need to allow binary output too, hence using sys.stdout.buffer instead of sys.stdout
+ sys.stdout.buffer.write(line)
845
+ else:
846
+ sys.stdout.write(line)
847
output_stdout += line
848
849
if stderr_read_queue:
0 commit comments