You've already forked OpenUxAS-SoI
mirror of
https://github.com/AdaCore/OpenUxAS-SoI.git
synced 2026-02-12 13:04:49 -08:00
14 lines
397 B
Python
Executable File
14 lines
397 B
Python
Executable File
#! /usr/bin/env python3
|
|
|
|
import os
|
|
from subprocess import call
|
|
|
|
scenarioFile = 'Scenario_DistributedCooperation.xml'
|
|
amaseDirectory = '../../../OpenAMASE/OpenAMASE'
|
|
|
|
cmd = 'java -Xmx2048m -splash:./data/amase_splash.png -classpath ./dist/*:./lib/* avtas.app.Application --config config/amase --scenario "{0}/{1}"'.format(os.getcwd(),scenarioFile)
|
|
|
|
os.chdir(amaseDirectory)
|
|
call(cmd,shell=True)
|
|
|