diff mbox

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

Message ID 1409965223-29863-5-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Sept. 6, 2014, 1 a.m. UTC
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>
---

Changes in v3: None
Changes in v2: None

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

Comments

Simon Glass Sept. 10, 2014, 6:49 p.m. UTC | #1
Applied to u-boot-x86/buildman.
diff mbox

Patch

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: