Fixed the lack of stdout being displayed when not in capture mode for meson_exe (meson --internal exe)
This commit is contained in:
parent
31e1e524ca
commit
65cb7b0241
|
@ -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…
Reference in New Issue