Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

class libtmux-kotlin latest

Shell

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

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.kotlin
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Shell.kt
public class Shell
class [source]

Description#

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in ShellOperations.kt .

Members8 members#

Other members8 members#

  • asJava property The Java shell this wraps: the same object, for a Java API that takes one.
  • capturing method Runs a shell command and answers with what it printed.
  • choose method Runs one tmux command when a shell command succeeds.
  • equals method
  • hashCode method
  • run method Runs a shell command for its effect.
  • server property
  • toString method
Esc

Type to search.