Add bounded aircraft control and verify current packaged runtime closure

This commit is contained in:
2026-09-19 13:31:51 +02:00
parent 4125018d04
commit a880e0485c
695 changed files with 79317 additions and 44 deletions
@@ -0,0 +1,9 @@
import json, os, subprocess, sys
from pathlib import Path
command = sys.argv[3:]
environment = os.environ.copy()
environment.update(json.loads(Path(sys.argv[2]).read_text()))
code = subprocess.call(command, env=environment)
with Path(sys.argv[1]).open('x') as output:
json.dump({'command': command, 'exit_code': code}, output)
sys.exit(code)