# libtmux.core/batch!

- **Module:** libtmux.core
- **Package:** io.github.libtmux:libtmux-clojure
- **Language:** Clojure
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-java/blob/5f88402151ff08fc0390dd438b90963692ec3fe4/libtmux-clojure/src/main/clojure/libtmux/core.clj#L580
- **Public owner:** libtmux.core
- **Page:** https://libtmux.org/en/clojure/latest/reference/libtmux-core-batch/

```
(batch! server operations)

(batch! server operations options)
```

Runs independent argv commands using a fresh Java Batch and returns positions.

Supply explicit targets. Failed/skipped outcomes are data; transport failure
throws with `:tmux/results.` Use `{:kind :wait}` for groups needing a release,
including blocking shell commands. No rollback or retry safety is promised.
[[chain!]] carries an implicit target between dependent commands.

## Parameters

- `server`
- `operations`
- `options` (for `batch!(server, operations, options)`)

## Guides

Pages that discuss `batch!`.

- [Captures, effects and streams](/en/clojure/latest/guides/captures-and-effects/)
