Skip to main content
background: true returns as soon as the process is running. The command keeps running after the call returns. Use the pid to wait, attach again, or stop it. Do not combine background with a foreground stream. Attach with the pid instead. Omit the timeout, or pass 0, and the command has no deadline. The CLI default is 300 seconds, so pass --timeout 0 when the command should keep running.
signal may be KILL (the default), TERM, INT, or HUP. Closing the follow stream leaves the command running. A deadline ends it with exit code 124.