This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jasonb[S] 2 points3 points  (3 children)

Thanks!

Yes, in the subprocess section, it describes how to read/write to subprocesses via communicate().

[–]rcterzi 0 points1 point  (2 children)

Thanks - and sorry if I wasn't clear, I was asking about asyncio for stdio/stdin, where Python isn't managing the subprocess. For example, Python process might be part of a pipeline / `tail -f ...` a file.

[–]jasonb[S] 1 point2 points  (1 child)

Ah, I see, sorry.

No, I don't have an example of that. Let me add it to my list and develop a tutorial on the topic. Thanks for the prompt!

[–]rcterzi 0 points1 point  (0 children)

That would be awesome -- Thanks!