aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Mikanovich <amikan@ilbers.de>2021-12-08 19:57:36 +0300
committerAnuj Mittal <anuj.mittal@intel.com>2021-12-28 11:30:14 +0800
commiteef2355331e7e03b2c7615695694c5ba9877fb36 (patch)
tree1a581b214848115849c714f68ef632e260c3f28c
parent6bfb02f845001bf4f05d9b68695bb616b1642b2a (diff)
downloadbitbake-eef2355331e7e03b2c7615695694c5ba9877fb36.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.py2
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,
}