> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TerminalResult

> Result from a completed terminal session.

Source: [src/cwsandbox/\_types.py:752](https://github.com/coreweave/cwsandbox-client/blob/v0.22.0/src/cwsandbox/_types.py#L752)

```python theme={"system"}
class TerminalResult(returncode: int, command: list[str] = list())
```

Result from a completed terminal session.

Unlike `ProcessResult`, doesn't contain captured `stdout` or `stderr` because TTY sessions don't buffer output.

**Attributes**

* `command` (`list[str]`) : The command that was executed. Default: `field(default_factory=list)`.
