Skip to content

Persistent history file not saved when application is killed #1292

@shimomut

Description

@shimomut

When killing the Cmd2 application (e.g. by closing the terminal window), persistent history file is not saved.

By using persistent_history_file argument for Cmd.init(), and hitting quit command, I can see the persistent history command is updated as expected.

Environment : Ubuntu 22 on WLS2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions