diff options
author | Anton Mikanovich <amikan@ilbers.de> | 2021-12-08 19:57:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-05 17:36:26 +0000 |
commit | dc53448274100007aa4522f5d81e110a507f5120 (patch) | |
tree | 4a88b0ed768194bc46d0c2c55ea6a36daa3e92d3 | |
parent | abd2189b32acff03cf6e9d0d8052e7fc11d5dd62 (diff) | |
download | poky-dc53448274100007aa4522f5d81e110a507f5120.tar.gz |
bitbake: 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.
(Bitbake rev: eef2355331e7e03b2c7615695694c5ba9877fb36)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/process.py b/bitbake/lib/bb/process.py index d5a1775fce..af5d804a1d 100644 --- a/bitbake/lib/bb/process.py +++ b/bitbake/lib/bb/process.py | |||
@@ -60,7 +60,7 @@ class Popen(subprocess.Popen): | |||
60 | "close_fds": True, | 60 | "close_fds": True, |
61 | "preexec_fn": subprocess_setup, | 61 | "preexec_fn": subprocess_setup, |
62 | "stdout": subprocess.PIPE, | 62 | "stdout": subprocess.PIPE, |
63 | "stderr": subprocess.STDOUT, | 63 | "stderr": subprocess.PIPE, |
64 | "stdin": subprocess.PIPE, | 64 | "stdin": subprocess.PIPE, |
65 | "shell": False, | 65 | "shell": False, |
66 | } | 66 | } |