Session

A session is a long-running shell in a sandbox that keeps state, such as the working directory and the environment, between calls.

A session is a long-running shell that the sandbox daemon manages inside a sandbox. The session keeps shell state, such as the working directory and the environment, between calls. A later call in the same session therefore continues from the state that an earlier call left. The sandbox daemon offers sessions alongside two other forms of process execution: one-shot commands with captured output, and interactive terminals.