[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] How to `wait` for all the background processes but capture t
From: |
Peng Yu |
Subject: |
[Help-bash] How to `wait` for all the background processes but capture their non zero exit status? |
Date: |
Sun, 9 Jun 2019 23:06:40 -0500 |
Hi,
`help wait` says "If ID is not given, waits for all currently active
child processes, and the return status is zero."
Sometimes, it would be convenient to know whether any of these
processes have a non zero exit status. What is the best way to capture
such information? Thanks.
--
Regards,
Peng
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-bash] How to `wait` for all the background processes but capture their non zero exit status?,
Peng Yu <=