[U-Boot] [PATCH v3 04/18] patman: RunPipe() should not pipe stdout/stderr unless asked

Simon Glass sjg at chromium.org
Sat Sep 6 03:00:09 CEST 2014


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 at chromium.org>
---

Changes in v3: None
Changes in v2: None

 tools/patman/command.py | 2 ++
 1 file changed, 2 insertions(+)

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:
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list