]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(nohup invocation): nohup now redirects stderr to
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Mar 2006 23:34:42 +0000 (23:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Mar 2006 23:34:42 +0000 (23:34 +0000)
nohup.out if stdout is closed and stderr is a tty.

doc/coreutils.texi

index 8a9317d5f40b144ec8524e6a0813b641f9bbe872..094fbd42235737d548daa52ceb8b63828bd5547b 100644 (file)
@@ -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