in reply to Re^2: self detecting script
in thread self detecting script

Good points, thanks. I think the problem with dying scripts can be striked by checking the saved PID as ruoso suggested. Well, then one should be sure not to leave zombies, I'd guess.

Ordinary morality is for ordinary people. -- Aleister Crowley