# shell-command.runFramedShellCommand

- **Module:** shell-command
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ts/blob/de36ea54f5c4b7c206870b2cb08b6f144bc5d55f/packages/libtmux/src/shell-command.ts#L237
- **Page:** https://libtmux.org/en/ts/latest/reference/shell-command-runframedshellcommand/

```
async function runFramedShellCommand(
  pane: Pane,
  command: string,
  options: ShellCommandOptions,
  driver: FramedCommandDriver,
): Promise<FramedResult>
```

Run the framing with the host's observation and input policy. Pane callers use [`Pane.runCommand`](/en/ts/latest/reference/pane-pane-runcommand/). An adapter can supply its own already authorized pane and retain its reservation until `settled`.

## Parameters

- `pane` (`Pane`)
- `command` (`string`)
- `options` (`ShellCommandOptions`)
- `driver` (`FramedCommandDriver`)
