From 872c06ef318b73d5ddc134ca6ed2279fd344fcb9 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Wed, 9 Aug 2023 16:53:35 -0400 Subject: [PATCH] {vanilla} Adds "quit" to the lisp run script to properly exit on Windows --- framework/vanilla_actr/vanilla_actr.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/vanilla_actr/vanilla_actr.go b/framework/vanilla_actr/vanilla_actr.go index 4d450e6..de8dafd 100644 --- a/framework/vanilla_actr/vanilla_actr.go +++ b/framework/vanilla_actr/vanilla_actr.go @@ -725,6 +725,8 @@ func (v VanillaACTR) createRunFile(modelFile string) (outputFile string, err err // 10.0 is an arbitrary length of time. v.Writeln(`(run 10.0)`) + v.Writeln(`(quit)`) + outputFile = fmt.Sprintf("%s_run.lisp", v.modelName) if v.tmpPath != "" { outputFile = filepath.Join(v.tmpPath, outputFile)