Skip to content
Discussion options

You must be logged in to vote

cmd2 makes an implicit assumption that only a single instance will be running at a time based out of the same directory.

You can run as many instances as you want as long as they are started from different locations in your filesystem. Each instance reads the history from a fixed relative path on startup and writes the history back to the same fixed relative location on shutdown.

This works great for the use case where you have a single user running at different times. If you have multiple users running simultaneously, we support that as long as they are launching the application from a different directory path.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tleonhardt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants