[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nohup definition should be changed
From: |
Paul Eggert |
Subject: |
Re: nohup definition should be changed |
Date: |
Sat, 28 May 2005 01:06:42 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Wayne Pollock <address@hidden> writes:
> redirection input from "/" seems strange albeit legal. I think
> nohup would most likely be run from the command line, and in that
> environment /dev/null almost certainly will exist.
Yes, but /dev/null has the disadvantage that you can read from it and
get EOF. The advantage of redirecting from "/" (or from "nohup.out"
opened write-only) is that you get an error when you you try to read
from it (in most environments, anyway). The idea is that a read error
is a better indicator to the user that stdin got shoved under the rug.