Hacker News new | ask | show | jobs
by hoppp 20 days ago
What about using GNU Parallel ?
2 comments

"If you know all commands that you want to execute up-front, then the solution gets far simpler":

https://emmer.dev/blog/concurrent-shell-command-queues/#why-...

What prevents you from feeding your `xargs -P# sh -c` with a FIFO kept open by a dummy reader-writer?
Or plain xargs...