Fixed the lack of stdout being displayed when not in capture mode for meson_exe (meson --internal exe)

pull/4311/head
dx-mon 7 years ago committed by Jussi Pakkanen
parent 31e1e524ca
commit 65cb7b0241
  1. 2
      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

Loading…
Cancel
Save