maux
Star on GitHub Buy me a coffee

Manual / nohup

nohup(1)

NOHUP(1) General Commands Manual NOHUP(1)

nohup - run a utility with the hangup signal ignored

nohup utility [ argument ] ...

Nohup runs utility with the SIGHUP signal set to be ignored, then exits with its status. On this machine nothing ever SENDS a hangup signal (no controlling-terminal-drop concept), so the ignore step is a real, harmless syscall rather than a fiction -- the SUBSTANCE of nohup here is the output redirection.

If standard output is a terminal, all output utility writes to its standard output is appended to NOHUP.OUT in the current directory. If that file cannot be created or appended to, it is instead appended to NOHUP.OUT in the directory named by the HOME environment variable; if HOME is not set, or that also fails, utility is not invoked. Before either is attempted, a message naming the destination is written to standard error. If standard error is also a terminal, it is redirected the same way.

Utility is resolved against PATH exactly as a shell resolves a bare command word (execvp), and its argv[0] is the word as typed, not the resolved path.

/usr/man/NOHUP this page
NOHUP.OUT the default output destination, current directory

sh(1), env(1), timeout(1), kill(1)

Exit status is that of utility if it ran; 127 if it could not be found on PATH or if neither output destination could be opened; 126 if it was found but could not be run; 2 on a usage error (no utility operand).

ProDOS has no permission bits, so NOHUP.OUT is created with whatever access CREATE's own default grants -- there is no narrower mode to request. This machine has no hangup-signal source at all, so the ignore step can be measured as a successful syscall but never as a behavioural difference.

September 15, 2026 maux