in reply to non-blocking IO from open("-|")ing an external program with fcntl
The benefit to using a fork based approach is you can control the parent program to make it async unti you don't want it to be by using wait.
Final note, using something like redis if it is available really makes it easy to share data among processes. This is what's it is for. Or maybe sqlite.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: non-blocking IO from open("-|")ing an external program with fcntl
by bliako (Abbot) on Jun 13, 2020 at 13:31 UTC |