Went through foreman/goreman/forego and all of them either did not:
– support not printing the name
– support killing all when one finishes
– support sending signals to all children
But this does:
## Install parallel with `done` support RUN \ curl -sL http://ftp.gnu.org/gnu/parallel/parallel-20180422.tar.bz2 > /tmp/parallel.tar.bz2 && \ cd /tmp && tar -xvjf /tmp/parallel.tar.bz2 && cd parallel* && \ ./configure && make install && rm -rf /tmp/parallel* # stream output and stop all commands if any of them finish/fail parallel --no-notice --ungroup --halt 'now,done=1' {1} ::: 'sleep 10' 'sleep 20'
If the output is more than a single line (technically a single write), then you risk mixed half-lines with -u. –line-buffer does not have that issue; with that only complete lines may mix.
Are there any reasons why you do not run ‘parallel –citation’ once?
Thx for the tip!
running citation might also work, but then I need to figure out how to accept it … I just made it go away and did not think about it again 🙂