3 ms·
>Yes now try waiting for all parallel tasks, `wait` >and error out if at least one errors. `wait` propagates the exit status of the waited task. `set -e` tri
by Arnavion 4y ago
>Yes now try waiting for all parallel tasks,
`wait`
>and error out if at least one errors.
`wait` propagates the exit status of the waited task. `set -e` triggers the script to exit on any command failure.
>And try separating their output so that they don't get interleaved into a big mess.
`| while read -r line; do echo "task X: $line"; done`
Learn the tools instead of being so confident that it can't be done or that it's complicated.
- FooBarWidget 4y agoYou remind me of that guy who said there's no point in Dropbox because one can "just simply setup an sftp server".