# tuist sandbox exec

Run a shell command in a sandbox, resuming it first when paused, and print its output.

## Arguments

### sandbox-id

Sandbox UUID.

```bash
tuist sandbox exec [sandbox-id]
```

### account `Optional`

Account handle. Defaults to the account in the project's full handle.

```bash
tuist sandbox exec --account [account]
```

### path `Optional`

Project directory.

```bash
tuist sandbox exec --path [path]
tuist sandbox exec -p [path]
```

### json `Optional`

Return the response as JSON. Unknown optional values are omitted.

```bash
tuist sandbox exec --json
```

### timeout `Optional`

Kill the command after this many seconds (1–600). Defaults to 60.

```bash
tuist sandbox exec --timeout [timeout]
```

### command `Optional`

The command to run, after `--`.

```bash
tuist sandbox exec [command]
```
