Skip to content

Following exec_run output in realtime #2556

Open
@drgibbon

Description

@drgibbon

Probably a basic question, but is it possible to have the output of exec_run hitting stdout in real time? For example, if I do: x = container.exec_run(cmd = "find / -type f") I can get the output after the command finishes with: print(x.output.decode('utf-8')), but is it possible to have it output in real time instead?

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