detach − when it absolutely has to run!
detach [‐va] [ ‐f filename ] command [ args ]
detach. runs a command in a whole new process group. Once you have detached a process, you can airmail your terminal to Brazil. It won’t care.
- ‐v
- Natter at you about the command it’s running, both on the terminal and in the log file.
- ‐f filename
- By default, detach redirects output to "detach.out". You can override this with the ’‐f’ option. Really important if you don’t have write access in the current directory.
- ‐a
- Append to the logfile instead of overwriting it.
Peter da Silva
Detach uses execvp to execute the command. If you want to detach multi‐ ple commands use detach options sh ‐c ’command’...