Now that the BuildRoot is capable of capturing the output of the runner and modules (stages, assemblers), there is no need for using `api.setup_stdio`. Therefore, drop it from all runners and replace `api.output` with `BuildRoot.output`, which will contain the output if `api.setup_stdio` is not called from the runners.
9 lines
155 B
Python
Executable file
9 lines
155 B
Python
Executable file
#!/usr/bin/python3
|
|
|
|
import subprocess
|
|
import sys
|
|
|
|
|
|
if __name__ == "__main__":
|
|
r = subprocess.run(sys.argv[1:], check=False)
|
|
sys.exit(r.returncode)
|