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

TmuxTransport.execute

Runs the request to completion.

Source and package
Qualified name
io.github.libtmux.transport.TmuxTransport.execute
Package
io.github.libtmux.transport
Declared in
TmuxTransport
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/TmuxTransport.java

Description#

An implementation writes CommandRequest#input() to tmux's standard input and closes it. A command that reads standard input and is given none reads end of file, which tmux reports as success over an empty result rather than as a failure.

Parameters
Returns

the exit status and both channels; a nonzero exit is a result, not a failure

Raises
Esc

Type to search.

Reference previewOpen reference