From: Paul Eggert Date: Fri, 15 Jul 2005 21:54:56 +0000 (+0000) Subject: (nohup invocation): POSIXLY_CORRECT no longer X-Git-Tag: CPPI-1_12~242 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=adbbc35f87fb72767c05cec8d9b029a482bf75d4;p=thirdparty%2Fcoreutils.git (nohup invocation): POSIXLY_CORRECT no longer affects nohup's behavior. Input is redirected from /dev/null. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 5168f40e3f..6fd1cc20e1 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -12615,6 +12615,13 @@ out. Synopsis: nohup @var{command} [@var{arg}]@dots{} @end example +If standard input is a terminal, it is redirected from +@file{/dev/null} so that terminal sessions do not mistakenly consider +the terminal to be used by the command. This is a @acronym{GNU} +extension; programs intended to be portable to non-@acronym{GNU} hosts +should use @samp{nohup @var{command} [@var{arg}]@dots{}