DaanDeMeyer / reproc

A cross-platform (C99/C++11) process library
MIT License
552 stars 65 forks source link

Are there examples (is it possible) to run multiple processes in the background without threads? #97

Closed yurivict closed 1 year ago

yurivict commented 1 year ago

It should be possible to start multiple processes in the background and in a single loop to read all of their outputs.

But I don't see such examples.

DaanDeMeyer commented 1 year ago

Check the poll.c example, it does exactly this.