3 ms·
Huh, neat, didn't know "wait". Thanks! Still doesn't let you easily get the output of the two commands, but a good start.
by tgsovlerkhgsel 5y ago
Huh, neat, didn't know "wait". Thanks!
Still doesn't let you easily get the output of the two commands, but a good start.
- 10000truths 5y agoYou can just use files as a temporary buffer: (/my/bg_producer1 > /shm/file1) & (/my/bg_producer2 > /shm/file2) & /my/longrunningfgjob wait (/my/consumer1 < /shm/file1) & (/my/consumer2 < /shm/file2) & wait