Skip to content

Commit

Permalink
{vanilla} Adds "quit" to the lisp run script to properly exit on Wind…
Browse files Browse the repository at this point in the history
…ows (#371)
  • Loading branch information
asmaloney authored Aug 9, 2023
1 parent 875c7be commit 23e5979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/vanilla_actr/vanilla_actr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 23e5979

Please sign in to comment.