summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-26 19:27:50 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-26 19:27:50 +0000
commit8597e1fd2d4014aa8fe7c1848a48cba455eb8070 (patch)
tree391c68f549a7383a5ddb0830ecc9c7b56e7fe1b9 /doc
parent3d8bc90af37c384ad944b57324adf469038d9802 (diff)
downloadcoreutils-8597e1fd2d4014aa8fe7c1848a48cba455eb8070.tar.xz
nohup now redirects a tty stdin to an unreadable fd instead of closing it.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index f0ad8d8bc..3cbd7b121 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -12571,7 +12571,9 @@ descriptor as the (possibly-redirected) standard output.
@vindex POSIXLY_CORRECT
If standard input is a terminal, it is closed so that terminal
sessions do not mistakenly consider the terminal to be used by the
-command. However, this step is skipped if @env{POSIXLY_CORRECT} is
+command. To avoid glitches in poorly-written programs standard input
+is then reopened with an innocuous file descriptor that cannot be read
+from. However, these steps are skipped if @env{POSIXLY_CORRECT} is
set since @acronym{POSIX} requires standard input to be left alone.
@command{nohup} does not automatically put the command it runs in the