Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-java latest

Shell

Package io.github.libtmux.Shell io.github.libtmux

A shell command run by tmux, and a tmux command chosen by a shell command's exit status.

View as Markdown

Source and package
Module
io.github.libtmux
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Shell.java
class io.github.libtmux.Shell
classreadonly [source]

Description#

tmux expands #(...) in these strings before a shell sees them. Pass an interpolated value through TmuxFormats#literal unless that expansion is what you want.

Members4 members#

Common operations3 members#

  • run method Runs a shell command for its effect. Nothing is claimed about what it printed.
  • choose method Runs one tmux command when a shell command succeeds.
  • capturing method Runs a shell command and answers with what it printed.

Other members1 member#

Esc

Type to search.