---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/sandbox/type-aliases/RunShellCommandCompletionFn.md
description: >-
  Consumer-supplied completion observer; errors it throws are contained, never
  propagated.
---

# Type Alias: RunShellCommandCompletionFn

```ts
type RunShellCommandCompletionFn = (
  completion: RunShellCommandCompletion,
) => void;
```

Defined in: [src/batteries/sandbox/tool.ts:75](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/sandbox/tool.ts#L75)

Consumer-supplied completion observer; errors it throws are contained, never propagated.

## Parameters

| Parameter    | Type                                                                      |
| ------------ | ------------------------------------------------------------------------- |
| `completion` | [`RunShellCommandCompletion`](../interfaces/RunShellCommandCompletion.md) |

## Returns

`void`
