3 ms·
You lose the ability to know whether they succeeded or failed, though. Like most things given to you for free by the shell in shell scripting, it's only like ha
by striking 5y ago
You lose the ability to know whether they succeeded or failed, though. Like most things given to you for free by the shell in shell scripting, it's only like halfway to a real solution.
(If you know how many subshells you started and won't get confused by which is which, you can use `wait -n && wait -n && ...` in bash)
- MisterTea 5y agoCouldn't you redirect the stdout/error file descriptors to achieve the same thing?