> ## 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.

# ProcessResult

> Result from a completed streaming exec operation.

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

```python theme={"system"}
class ProcessResult(stdout: str, stderr: str, returncode: int, stdout_bytes: bytes = b'', stderr_bytes: bytes = b'', command: list[str] = list())
```

Result from a completed streaming exec operation.

Contains both the raw bytes and decoded strings for stdout/stderr,
along with the exit code and original command.

**Attributes**

* `stdout_bytes` (`bytes`) : Raw stdout bytes Default: `field(default=b'')`.
* `stderr_bytes` (`bytes`) : Raw stderr bytes Default: `field(default=b'')`.
* `command` (`list[str]`) : The command that was executed Default: `field(default_factory=list)`.
