From 65cb7b02410ca24e61985940e193dc7c5c6f5d8c Mon Sep 17 00:00:00 2001 From: dx-mon Date: Tue, 2 Oct 2018 21:40:11 +0100 Subject: Fixed the lack of stdout being displayed when not in capture mode for meson_exe (meson --internal exe) --- mesonbuild/scripts/meson_exe.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild') diff --git a/mesonbuild/scripts/meson_exe.py b/mesonbuild/scripts/meson_exe.py index 84abfc3..23c7334 100644 --- a/mesonbuild/scripts/meson_exe.py +++ b/mesonbuild/scripts/meson_exe.py @@ -81,6 +81,8 @@ def run_exe(exe): if exe.capture and p.returncode == 0: with open(exe.capture, 'wb') as output: output.write(stdout) + else: + sys.stdout.buffer.write(stdout) if stderr: sys.stderr.buffer.write(stderr) return p.returncode -- cgit v1.1