Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-java latest

Server.batch

Collects several commands to run in one tmux invocation.

Source and package
Qualified name
io.github.libtmux.Server.batch
Package
io.github.libtmux
Declared in
Server
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Server.java

Description#

Each operation gets its own outcome. tmux discards a group after the first failure, so a single exit status cannot say which command failed or which never ran.

Nested tmux command strings (if-shell, run-shell -C, hooks, brace blocks, source-file) are not checked; do not nest a command this library refuses.

Esc

Type to search.

Reference previewOpen reference