mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-15 05:22:20 +01:00
The library will be used for running emerge report and package update report generation in separate processes to make them faster. I initially wanted to use the relatively unknown feature of bash named coprocs, but it was an unfinished feature as of bash 5.2, so I decided to write my own then. The library is rather basic - allows to fork a subprocess that will run some bash function, communicate with it using subprocesses' standard input/output, and reap the subprocess. Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>