diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-03-23 23:34:42 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-03-23 23:34:42 +0000 |
commit | 29360166ff8b30f870e9963c9e50ce56712f4361 (patch) | |
tree | 190d433cd30395a174dbea4d8d83fb3cba9ff5f5 /doc | |
parent | 9f6b2d2548b31e724d258d851126e8a4b6d807e9 (diff) | |
download | coreutils-29360166ff8b30f870e9963c9e50ce56712f4361.tar.xz |
(nohup invocation): nohup now redirects stderr to
nohup.out if stdout is closed and stderr is a tty.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 8a9317d5f..094fbd422 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -12936,8 +12936,11 @@ Any @file{nohup.out} or @file{$HOME/nohup.out} file created by @command{nohup} is made readable and writable only to the user, regardless of the current umask settings. -If standard error is a terminal, it is redirected to the same file +If standard error is a terminal, it is normally redirected to the same file descriptor as the (possibly-redirected) standard output. +However, if standard output is closed, standard error terminal output +is instead appended to the file @file{nohup.out} or +@file{$HOME/nohup.out} as above. @command{nohup} does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line |