I have such a dispatcher shell script.
while read line do java TestProg $line & done < $tasklist
On the zombie process Wikipedia page, it says
if a parent fails to call wait, the zombie will be left in the process table, causing a resource leak
in the script above I didn't use the
wait function (I wrote many dispatcher shell script this way). I'm wondering if I need use
wait like this so that I can prevent from zombie processes:
while read line do java TestProg $line & done < $tasklist wait