mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 06:32:31 +00:00
1.2 KiB
1.2 KiB
Name
nohup - Invoke a utility that will ignore SIGHUPs
Synopsis
$ nohup <utility> [args...]
Description
nohup will invoke utility given an optional list of args, where at the time of the invocation it will ignore the SIGHUP signal.
If the standard output is a tty, utility will append its standard output to the end of the file nohup.out in the current directory. If nohup.out fails to be created or opened for
appending, utility's standard output will instead be appended to the end of the file $HOME/nohup.out. If this also fails, utility won't be invoked. nohup.out's
permission bits are set to S_IRUSR | S_IWUSR when it is created.
If standard error is a tty, one out of the following will occur:
- If the standard output is open but not a tty,
utilitywill redirect its standard error to its standard output. - If the standard output is a tty or is closed, standard error shall be appended to the end of nohup.out as described above.
Arguments
utility: Utility to be invokedargs: Arguments to pass toutility
Exit Status
- 126 -
utilitywas found but could not be invoked. - 127 - Either
utilitycould not be found or an error occurred innohup.