diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2019-07-02 13:42:53 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2019-07-02 13:42:53 +0100 |
commit | 3bdf4d6641fb34d1c2f130abddb847169a793afe (patch) | |
tree | b1c3686749a26212f08bfd8ffea464804f308d86 /Doc/Zsh/mod_system.yo | |
parent | 700ec49581650ea1f0bffacb207a30145e278417 (diff) | |
download | zsh-3bdf4d6641fb34d1c2f130abddb847169a793afe.tar.gz zsh-3bdf4d6641fb34d1c2f130abddb847169a793afe.tar.xz zsh-3bdf4d6641fb34d1c2f130abddb847169a793afe.zip |
44480: Don't automatically close externally visible file descroptors.
These are descriptors marked FDT_EXTERNAL. Make all sysopen'ed file descriptors FDT_EXTERNAL. Make =(...) call closem() consistent with other substitutions. Document file descriptors are left open.
Diffstat (limited to 'Doc/Zsh/mod_system.yo')
-rw-r--r-- | Doc/Zsh/mod_system.yo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo index 3a85e760f..6292af071 100644 --- a/Doc/Zsh/mod_system.yo +++ b/Doc/Zsh/mod_system.yo @@ -45,7 +45,9 @@ specified as a comma-separated list. The following is a list of possible options. Note that, depending on the system, some may not be available. startitem() item(tt(cloexec))( -mark file to be closed when other programs are executed +mark file to be closed when other programs are executed (else +the file descriptor remains open in subshells and forked external +executables) ) xitem(tt(create)) item(tt(creat))( |