diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-12 09:24:27 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-12 09:24:27 +0000 |
commit | b24a3e839105c66212dbd475600ba1af9f1a9d01 (patch) | |
tree | fbeb5e1367146ae144c7751eac6b43895985d441 /doc | |
parent | 5a1ef0fd7918a9b740dde4d70d640c96d570d28a (diff) | |
download | coreutils-b24a3e839105c66212dbd475600ba1af9f1a9d01.tar.xz |
(nohup invocation): nohup now closes stdin if it is a terminal, unless
POSIXLY_CORRECT is set.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 413b66618..f0ad8d8bc 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -12568,6 +12568,12 @@ regardless of the current umask settings. If standard error is a terminal, it is redirected to the same file 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 +set since @acronym{POSIX} requires standard input to be left alone. + @command{nohup} does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line with an @samp{&}. Also, @command{nohup} does not change the |