Capture current mission, AI, map and administration development
Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user