bind Output Directory
fun bindOutputDirectory(model: Model, workspace: Path, runId: String, outFileName: String = "kslOutput.txt")(source)
Redirects model's Model.outputDirectory to the workspace's per-run output folder. The engine's excelDir, dbDir, csvDir, plotDir subfolders are auto-created underneath by OutputDirectory's constructor — no engine change required.
Call site: the per-app view-model right after ModelBuilderIfc.build(...) returns the freshly-built model and before submitting it for execution.
Parameters
out File Name
the engine's stdout-capture filename; defaults to "kslOutput.txt" per scenario §2.