From dc53448274100007aa4522f5d81e110a507f5120 Mon Sep 17 00:00:00 2001 From: Anton Mikanovich Date: Wed, 8 Dec 2021 19:57:36 +0300 Subject: 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 Signed-off-by: Richard Purdie (cherry picked from commit 1ecc1d9424877df89fcda2f23c306998998a65ff) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie --- bitbake/lib/bb/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') 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): "close_fds": True, "preexec_fn": subprocess_setup, "stdout": subprocess.PIPE, - "stderr": subprocess.STDOUT, + "stderr": subprocess.PIPE, "stdin": subprocess.PIPE, "shell": False, } -- cgit v1.2.3-54-g00ecf