# Interface SandboxResult

Sandbox execution result.

interface SandboxResult {
success: boolean;
exitCode: number;
stdout: string;
stderr: string;
durationMs: number;
resourceUsage: ResourceUsage;
policyEvaluation: PolicyEvaluation;
}

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:130

##### Index

### Properties

success
exitCode
stdout
stderr
durationMs
resourceUsage
policyEvaluation

## Properties

### `Readonly` success

success: boolean

Whether execution succeeded.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:132

### `Readonly` exitCode

exitCode: number

Exit code from the command.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:134

### `Readonly` stdout

stdout: string

Standard output.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:136

### `Readonly` stderr

stderr: string

Standard error.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:138

### `Readonly` durationMs

durationMs: number

Execution duration in milliseconds.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:140

### `Readonly` resourceUsage

resourceUsage: ResourceUsage

Resource usage metrics.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:142

### `Readonly` policyEvaluation

policyEvaluation: PolicyEvaluation

Policy evaluation result.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:144