# io.github.libtmux.Server.Server.runShell

- **Module:** io.github.libtmux.Server.Server
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Server.java#L378
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-server-server-runshell/

```
io.github.libtmux.Server.Server.runShell(command: String) -> void
```

Runs a shell command through tmux, for its effect.

Nothing is claimed about what it printed — see {@link #runShellCapturing} for that, and for
why the two are separate.

tmux expands {@code #(...)} in this command before a shell sees it, and shell quoting does
not prevent that. Pass any interpolated value through {@link TmuxFormats#literal} unless you
mean it to be expanded.

## Parameters

- `command` (String): run by the user's shell, so it may redirect and pipe
