NOHUP(1) | General Commands Manual | NOHUP(1) |
nohup
— invoke a
utility immune to hangups
nohup |
[- - ]
utility [arguments] |
The nohup
utility invokes
utility with its arguments and
at this time sets the signal SIGHUP
to be ignored.
If the standard output is a terminal, the standard output is appended to the
file nohup.out in the current directory. If standard
error is a terminal, it is directed to the same place as the standard
output.
Some shells may provide a builtin nohup
command which is similar or identical to this utility. Consult the
builtin(1) manual page.
The following variables are utilized by
nohup
:
The nohup
utility exits with one of the
following values:
nohup
.Otherwise, the exit status of nohup
will
be that of utility.
The nohup
utility is expected to be
IEEE Std 1003.2 (“POSIX.2”)
compatible.
Two or more instances of nohup
can append
to the same file, which makes for a confusing output.
November 9, 2018 | macOS 14.6 |