summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrtemstoolkit/execute.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py
index 048f7a3..8e09b81 100755
--- a/rtemstoolkit/execute.py
+++ b/rtemstoolkit/execute.py
@@ -261,6 +261,8 @@ class execute(object):
name = '_stdout[%s]' % (name),
args = (self,
io.open(proc.stdout.fileno(),
+ mode = 'rb',
+ buffering = 0,
closefd = False),
self.output,
''))
@@ -271,6 +273,8 @@ class execute(object):
name = '_stderr[%s]' % (name),
args = (self,
io.open(proc.stderr.fileno(),
+ mode = 'rb',
+ buffering = 0,
closefd = False),
self.output,
self.error_prefix))