Skip to main content

Local terminal lifecycle

On supported POSIX desktops (Linux and macOS), local terminal creation uses tmux or a direct PTY fallback. Local PTY sessions are unavailable on Windows, Android/Quest, iOS, and standalone Web. Both paths respect the process-execution disable setting, and a tmux failure does not bypass that setting.

Local backend PTY commands keep their configured timeout and output limits (such as VRAI_SHELL_EXEC_MAX_OUTPUT_CHARS and VRAI_SHELL_EXEC_MAX_TIMEOUT_MS) when a shell exits before its child processes close the terminal. Interactive terminal sessions remain open until closed; they do not acquire a per-command timeout.

The native 3D terminal and Web dashboard share terminal creation behavior. TUI commands using the local execution backend share bounded command behavior. Other platform capability restrictions and approval requirements are unchanged. See Integrations and Media and Commands and Tools for related terminal and media controls.