linux - Infinite loop shell script not getting killed - Stack Overflow
經安全檢測,此網站為安全網站,請放心前往原始網址!
linux - Infinite loop shell script not getting killed - Stack Overflow
This piece of code here: wait $pid1 ret1=$? wait $pid2. will ensure it waits for
both processes to finish and hence mainscript will never get to the kill ...