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
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