Skip to content

cannot integrate cmd2 into event loops #19

@FedericoCeratto

Description

@FedericoCeratto

Originally reported by: Michael Haberler (Bitbucket: mhaberler, GitHub: mhaberler)


I wish there were a way to register cmd2 input with event loops like zmq.loop, asyncio, poll, gobject/gevent etc without occupying the main loop

the assumption cmd2 owns the inner loop of a program is very restrictive - even Gnu readline can be used from an event loop (C, not Python though)

using threading is an overkill for the purpose, and brings its own set of problems


Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions