# Server.run(_:in:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/PaneInteraction.swift#L49
- **Page:** https://libtmux.org/reference/swift/server-run(_-in-)/

```
Server.run(_:in:)(commandLine: String, in: Pane) -> ()
```

Runs a shell command line in a pane, as if typed.

## Raises

- `TmuxError`
