[U-Boot] [PATCH v2 04/16] patman: RunPipe() should not pipe stdout/stderr unless asked
Simon Glass
sjg at chromium.org
Thu Aug 28 17:56:12 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 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