detach
Synopsis
Section titled “Synopsis”detach [-h] [--version] <command> [args...]Description
Section titled “Description”Runs a command in the background using nohup, fully detached from the terminal with stdout/stderr discarded. The command survives the current session.
Arguments
Section titled “Arguments”-h, --help |
Show help message |
--version |
Show version information |
command |
The command to run detached |
args... |
Additional arguments for the command |
Exit Status
Section titled “Exit Status”0 |
Command launched or help/version shown |
1 |
No command provided or unknown option |
Example
Section titled “Example”detach rsync -a ./data remote:/backup/