diff options
author | Anton Mikanovich <amikan@ilbers.de> | 2021-12-08 19:57:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-07 23:43:17 +0000 |
commit | 8061b707e1feb827941cfca594ef575fe2b7a5fa (patch) | |
tree | 3bd797d55b96ce5cfbdfd0caa2fdf1cd2b8d53ed | |
parent | b15b36a28151365e0ef6dcc84bd16fe924b40263 (diff) | |
download | poky-8061b707e1feb827941cfca594ef575fe2b7a5fa.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: 53336bc7422df3fd3fedccfe32a3fb05207c61b5)
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 | } |