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 6302464 commit 444c8b4Copy full SHA for 444c8b4
command_runner/__init__.py
@@ -21,8 +21,8 @@
21
__author__ = "Orsiris de Jong"
22
__copyright__ = "Copyright (C) 2015-2025 Orsiris de Jong for NetInvent"
23
__licence__ = "BSD 3 Clause"
24
-__version__ = "1.7.4"
25
-__build__ = "2025052301"
+__version__ = "1.7.5"
+__build__ = "2025090901"
26
__compat__ = "python2.7+"
27
28
import io
@@ -839,7 +839,9 @@ def __check_timeout(
839
if stdout_destination == "queue":
840
stdout.put(line)
841
if live_output:
842
- sys.stdout.write(line)
+ # 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)
845
output_stdout += line
846
847
if stderr_read_queue:
0 commit comments