mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
6208fcef94
commit
ddaf5c8f30
2 changed files with 7 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue