Commit | Line | Data |
---|---|---|
28b214ee C |
1 | NOHUP(1) BSD Reference Manual NOHUP(1) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | n\bno\boh\bhu\bup\bp - invoke a command immune to hangups | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | n\bno\boh\bhu\bup\bp _\bc_\bo_\bm_\bm_\ba_\bn_\bd [_\ba_\br_\bg _\b._\b._\b.] | |
8 | ||
9 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
10 | The n\bno\boh\bhu\bup\bp utility invokes _\bc_\bo_\bm_\bm_\ba_\bn_\bd with its arguments and at this time | |
11 | sets the signal SIGHUP to be ignored. The signal SIGQUIT may also be set | |
12 | to be ignored. If the standard output is a terminal, the standard output | |
13 | is appended to the file _\bn_\bo_\bh_\bu_\bp_\b._\bo_\bu_\bt in the current directory. If standard | |
14 | error is a terminal, it is directed to the same place as the standard | |
15 | output. | |
16 | ||
17 | N\bNo\boh\bhu\bup\bp exits 1 if an error occurs, otherwise the exit status is that of | |
18 | _\bc_\bo_\bm_\bm_\ba_\bn_\bd. | |
19 | ||
20 | E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT | |
21 | The following variable is utilized by n\bno\boh\bhu\bup\bp. | |
22 | ||
23 | HOME If the output file _\bn_\bo_\bh_\bu_\bp_\b._\bo_\bu_\bt cannot be created in the current di- | |
24 | rectory, the n\bno\boh\bhu\bup\bp utility uses the directory named by HOME to cre- | |
25 | ate the file. | |
26 | ||
27 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
28 | signal(3) | |
29 | ||
30 | S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS | |
31 | The n\bno\boh\bhu\bup\bp command is expected to be IEEE Std1003.2 (``POSIX'') compati- | |
32 | ble. | |
33 | ||
34 | 4.4BSD June 6, 1993 1 |