Skip to content

Stream output of command without waiting for it to completely finish #1

@aspizu

Description

@aspizu

It should be possible to read the output of a command (either stdout or stdin) line-by-line or byte-by-byte. Long-running or forever-running commands should be handled gracefully.

It should support .aread() or .read()?

The user facing API should be .stream() or .lines(), or both?

relevant pyo3 discussion: PyO3/pyo3-async-runtimes#52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions