Sep-25-2020, 11:22 PM
When the pipe is created, the ends are unique. The only way to get multiple things writing into it is to fork them from the same process. I don't know how you would do that via subprocess.
I would expect a process to instead put all the receiving ends into a select() and then read whichever one wants to. But I don't know that you can select() on pipes on windows. Not sure what the best way is for that platform.
I would expect a process to instead put all the receiving ends into a select() and then read whichever one wants to. But I don't know that you can select() on pipes on windows. Not sure what the best way is for that platform.