debian-forge/runners/org.osbuild.linux
Christian Kellner 71adfced70 runners: use osbuild.api.setup_stdio
Each runner used the exact same copy of `setup_stdio`, which is
now provided by `api.setup_stdio`. Use that and remove the code
duplication.
2020-07-27 12:50:38 +01:00

12 lines
205 B
Python
Executable file

#!/usr/bin/python3
import subprocess
import sys
import osbuild.api
if __name__ == "__main__":
osbuild.api.setup_stdio()
r = subprocess.run(sys.argv[1:], check=False)
sys.exit(r.returncode)