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
| Argument | Description |
|---|---|
config | Path to the configuration JSON file. See Runtime Configuration Guide. |
setup | Path to the setups folder. |
test | Path to the tests CSV files folder. See Tests CSV Format. |
core | CPUs 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":
| Example | Meaning |
|---|---|
0,1,2-4,6 | Cores 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
- If
configis a relative path, it's resolved relative to the process's own folder (the executable's directory) — not the current working directory. - All other paths (
setup,test) are resolved relative to the current working directory the process was launched with.
The working directory can be set explicitly when launching the process programmatically — see the
workingDirectory parameter of StartProject in the
Scripts Interface.