NOHUP(1) MachTen Reference Manual NOHUP(1)

NAME
nohup - invoke a command immune to hangups

SYNOPSIS
nohup command [arg ...]

DESCRIPTION
The nohup utility invokes command with its arguments and at this time
sets the signal SIGHUP to be ignored. The signal SIGQUIT is also set 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 er-
ror is a terminal, it is directed to the same place as the standard out-
put.

Nohup exits 1 if an error occurs, otherwise the exit status is that of
command.

ENVIRONMENT
The following variable is utilized by nohup.

HOME If the output file nohup.out cannot be created in the current di-
rectory, the nohup utility uses the directory named by HOME to cre-
ate the file.

SEE ALSO
signal(3)

STANDARDS
The nohup command is expected to be IEEE Std1003.2 (‘‘POSIX’’) compati-
ble.

4.4BSD June 6, 1993 1