Echo stderr from captured command.

This helps with debugging if the command fails.
pull/712/head
Elliott Sales de Andrade 9 years ago
parent 3e09aa9f11
commit b7757189e4
  1. 2
      mesonbuild/scripts/meson_exe.py

@ -63,6 +63,8 @@ def run_exe(exe):
if exe.capture and p.returncode == 0:
with open(exe.capture, 'wb') as output:
output.write(stdout)
if stderr:
sys.stderr.buffer.write(stderr)
return p.returncode
def run(args):

Loading…
Cancel
Save