detach
detach [-h] [--version] <command> [args...]Runs a command in the background using nohup, fully detached from theterminal with stdout/stderr discarded. The command survives the currentsession.Arguments:
-h, --help |
Show help message |
--version |
Show version information |
command |
The command to run detached |
args... |
Additional arguments for the command |
Returns:
0 |
Command launched or help/version shown |
1 |
No command provided or unknown option |
detach rsync -a ./data remote:/backup/