perl -e'$|++;$SIG{INT}=sub{exit};while(1){sleep 1;print "."}END{print" +done\n"}' [download]
See: perlipc
In reply to Re: END {} not executing by zengargoyle in thread END {} not executing by cfreak