2015-10-08 15:15:08 +00:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt NOHUP 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-28 22:55:57 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm nohup
|
|
|
|
.Nd run command immune to hangups
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 20:17:58 +00:00
|
|
|
.Nm
|
2015-01-28 22:55:57 +00:00
|
|
|
.Ar cmd
|
|
|
|
.Op Ar arg ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
runs
|
|
|
|
.Ar cmd
|
|
|
|
with the
|
|
|
|
.Em HUP
|
|
|
|
signal set to be ignored.
|
|
|
|
.Pp
|
|
|
|
If stdout is a terminal, it is appended to
|
|
|
|
.Em nohup.out
|
|
|
|
in the current working directory.
|
|
|
|
If stderr is a terminal, it is redirected to stdout.
|
2015-03-04 23:27:36 +00:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It 0
|
|
|
|
.Ar cmd
|
|
|
|
executed successfully.
|
|
|
|
.It 1
|
|
|
|
Internal error.
|
|
|
|
.It 126
|
|
|
|
.Ar cmd
|
|
|
|
was found but could not be executed.
|
|
|
|
.It 127
|
|
|
|
.Ar cmd
|
|
|
|
could not be found.
|
|
|
|
.El
|
2015-01-28 22:55:57 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr signal 7
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
2015-03-27 16:22:48 +00:00
|
|
|
.St -p1003.1-2013
|
2015-01-28 22:55:57 +00:00
|
|
|
specification.
|