diff options
author | Anton Mikanovich <amikan@ilbers.de> | 2021-12-08 19:57:36 +0300 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-12-28 12:38:46 +0800 |
commit | 53336bc7422df3fd3fedccfe32a3fb05207c61b5 (patch) | |
tree | f5e64b2f154fde73fc26eb0f1593f29fbc2d016a | |
parent | 315599b5b3ca0f1c797555db2460081681b6c945 (diff) | |
download | bitbake-contrib-53336bc7422df3fd3fedccfe32a3fb05207c61b5.tar.gz |
process: Do not mix stderr with stdout
We should not redirect stderr to stdout if we need to get separated
stdout and stderr contents from Popen.communicate() later.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ecc1d9424877df89fcda2f23c306998998a65ff)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r-- | lib/bb/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/process.py b/lib/bb/process.py index d5a1775fc..af5d804a1 100644 --- a/lib/bb/process.py +++ b/lib/bb/process.py @@ -60,7 +60,7 @@ class Popen(subprocess.Popen): "close_fds": True, "preexec_fn": subprocess_setup, "stdout": subprocess.PIPE, - "stderr": subprocess.STDOUT, + "stderr": subprocess.PIPE, "stdin": subprocess.PIPE, "shell": False, } |