Overview
Run a command immune to hangups, with output to a non-tty.
Usage
Avoid sending SIGHUP
to a process when closing PTY. If no output file is specified, defaults to nohup.out
.
Examples
shellnohup command > output 2>&1 & # bash
nohup command &> output & # fish