Arguments are passed to the CoreEngine executable as name="value" pairs and read internally via getCmdOption/cmdOptionExists against SystemConfig.arguments. Model code can read any custom argument the same way — see Command-Line Arguments in the developer guide.

Built-in Arguments

ArgumentDescription
configPath to the configuration JSON file. See Runtime Configuration Guide.
setupPath to the setups folder.
testPath to the tests CSV files folder. See Tests CSV Format.
coreCPUs list to execute on. See Core Affinity List below.
projectApp.exe config="config.json" setup="./setups" test="./tests" core="0,1,2-4,6,*"

Core Affinity List

The core argument is a comma-separated list of CPU indices and ranges, with an optional * wildcard meaning "every remaining core not already listed":

ExampleMeaning
0,1,2-4,6Cores 0, 1, 2, 3, 4, 6.
0,1,2-4,6,*Cores 0, 1, 2, 3, 4, 6, plus every other core on the machine.
This is the same * wildcard convention used for per-thread affinity fields in config.json (e.g. the RealTime thread's affinity) — see Runtime Configuration Guide.

Path Resolution

The working directory can be set explicitly when launching the process programmatically — see the workingDirectory parameter of StartProject in the Scripts Interface.