Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Call stack issues when running trap handler



On Apr 21, 10:32pm, Sebastian Reusse wrote:
}
} I've noticed that under certain conditions, shell functions called from
} inside an exit trap handler appear to never return.

Whatever this is dates back a long time.  In zsh-3, the sample script
doesn't appear to call the exit trap at all via "main" or "exit0"
though it does if "exit" is called directly.  In zsh-4 the behavior
is the same as in current zsh-5.



Messages sorted by: Reverse Date, Date, Thread, Author