bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nohup.out placement so inflexible


From: Paul Eggert
Subject: Re: nohup.out placement so inflexible
Date: 09 Dec 2003 15:26:46 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Jim Meyering <address@hidden> writes:

> Please call the new option --output=FILE (no short-named option).
> If you do this, please also update the documentation:

I see one detail here that needs to be nailed down.

One might think that the user could easily implement the equivalent of:

  nohup --output=FILE COMMAND

by executing:

  nohup COMMAND >FILE

However, these two commands should have different effects when FILE is
a terminal: the former should send all output to FILE, whereas POSIX
requires that the latter must send all output to 'nohup.out' instead.

So, I suggest that the documentation and code make it clear that the
"--output=FILE" output means something more than "use the name FILE
rather than the name 'nohup.out'".  The option also means "send the
output to FILE regardless of whether FILE is a terminal".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]