Skip to content

Is there a way to use pymux in an code? #76

@analogrithems

Description

@analogrithems

Not a bug but a question/feature request. I'm trying to find out how to use pymux with docker-py to shell into containers. I want one window to be the container shell and the other to tail the logs. I've done this in bash already, but I'd like to have it python to simplify features.

I want to be able to spawn a window and pass it a function to start running. I know I can call it with an executable but after looking at the code I can't see an entry point for passing it a subprocess. It looks like it currently only can call shlex to call a another proc

Metadata

Metadata

Assignees

No one assigned

    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