On Fri, 04 Nov 2022 09:54:10 +0100 Paolo Abeni wrote:
Then it will be less straigh-forward for the running shell waiting for all the running processes.
The usual solution for that is to write the pid of the daemonized process to a file, no?
Another option would be replacing the sleep with a loop waiting for the rx UDP socket to appear in the procfs or diag interface, alike what mptcp self-tests (random example;) are doing: