From adbbc35f87fb72767c05cec8d9b029a482bf75d4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 15 Jul 2005 21:54:56 +0000 Subject: [PATCH] (nohup invocation): POSIXLY_CORRECT no longer affects nohup's behavior. Input is redirected from /dev/null. --- doc/coreutils.texi | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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{}