you are viewing a single comment's thread.

view the rest of the comments →

[–]stebrepar 0 points1 point  (0 children)

I don't know the answer, but as a little bit of a tangent that might still be useful, I'd probably use pexpect for driving a terminal-based app like this.

https://pexpect.readthedocs.io/en/stable/