summaryrefslogtreecommitdiff
path: root/tools/patman/command.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-06 01:00:09 (GMT)
committerSimon Glass <sjg@chromium.org>2014-09-09 22:38:24 (GMT)
commitddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4 (patch)
treef670b03e86281912c34f2752b8e4371322634d7f /tools/patman/command.py
parent6208fcef9457f3c9b72c482376cfdba4c60cb728 (diff)
downloadu-boot-ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4.tar.xz
patman: RunPipe() should not pipe stdout/stderr unless asked
RunPipe() currently pipes the output of stdout and stderr to a pty, but this is not the intended behaviour. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/command.py')
-rw-r--r--tools/patman/command.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/command.py b/tools/patman/command.py
index 449d3d0..7212fdf 100644
--- a/tools/patman/command.py
+++ b/tools/patman/command.py
@@ -48,6 +48,8 @@ def RunPipe(pipe_list, infile=None, outfile=None,
last_pipe = None
pipeline = list(pipe_list)
user_pipestr = '|'.join([' '.join(pipe) for pipe in pipe_list])
+ kwargs['stdout'] = None
+ kwargs['stderr'] = None
while pipeline:
cmd = pipeline.pop(0)
if last_pipe is not None: