From a8f736b4cf8d186af4aea6f48ae7a5335d9ad8bb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 16 Oct 2013 20:55:48 +0100 Subject: Users/18033: Documentation for exit and ERR_EXIT. Notes about interaction with asynchronous jobs such as process substitution and multios. --- Doc/Zsh/options.yo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Doc/Zsh/options.yo') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 90552157f..3c6ea63b8 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1553,6 +1553,11 @@ the trap. If the option tt(DEBUG_BEFORE_CMD) is set, as it is by default, and the option tt(ERR_EXIT) is found to have been set on exit, then the command for which the tt(DEBUG) trap is being executed is skipped. The option is restored after the trap exits. + +Exiting due to tt(ERR_EXIT) has certain interactions with asynchronous +jobs noted in +ifzman(the section JOBS in in zmanref(zshmisc))\ +ifnzman(noderef(Jobs & Signals)). ) pindex(ERR_RETURN) pindex(NO_ERR_RETURN) -- cgit 1.4.1