about summary refs log tree commit diff
path: root/Doc/Zsh/jobs.yo
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2013-10-16 20:55:48 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2013-10-16 20:55:48 +0100
commita8f736b4cf8d186af4aea6f48ae7a5335d9ad8bb (patch)
treee5e5b74b68f514c29b1230cfadbfd79a39e6ef34 /Doc/Zsh/jobs.yo
parent441c19c16147f6ce9d0748b4495892ea353a30fb (diff)
downloadzsh-a8f736b4cf8d186af4aea6f48ae7a5335d9ad8bb.tar.gz
zsh-a8f736b4cf8d186af4aea6f48ae7a5335d9ad8bb.tar.xz
zsh-a8f736b4cf8d186af4aea6f48ae7a5335d9ad8bb.zip
Users/18033: Documentation for exit and ERR_EXIT.
Notes about interaction with asynchronous jobs such as process
substitution and multios.
Diffstat (limited to 'Doc/Zsh/jobs.yo')
-rw-r--r--Doc/Zsh/jobs.yo15
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/Zsh/jobs.yo b/Doc/Zsh/jobs.yo
index 3baf77f20..d9395010a 100644
--- a/Doc/Zsh/jobs.yo
+++ b/Doc/Zsh/jobs.yo
@@ -115,3 +115,18 @@ The shell itself always ignores the tt(QUIT) signal.
 Otherwise, signals have the values
 inherited by the shell from its parent
 (but see the tt(TRAP)var(NAL) special functions in noderef(Functions)).
+
+cindex(exiting shell, and asynchronous jobs)
+cindex(asynchronous jobs, and exiting shell)
+cindex(jobs, asynchronous, and exiting shell)
+Certain jobs are run asynchronously by the shell other than those
+explicitly put into the background; even in cases where the shell
+would usually wait for such jobs, an explicit tt(exit) command
+or exit due to the option tt(ERR_EXIT) will cause the shell to
+exit without waiting.  Examples of such asynchronous jobs are
+process substitution, see
+ifzman(the section PROCESS SUBSTITUTION in the zmanref(zshexpn) manual page)\
+ifnzman(noderef(Process Substitution)), and the handler processes for
+multios, see
+ifzman(the section MULTIOS in the zmanref(zshmisc) manual page)\
+ifnzman(the section Multios in noderef(Redirection)).