Workspace ManagerAPI 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.

LibTmuxWorkspace.main

Methods#

main(arguments; out, err)[source]#

Run the installed CLI protocol. Pure commands need no server. load and freeze require one explicit socket selector; there is no default-server fallback. Only --attach opens an interactive client. Return a documented exit code. The supplied streams remain borrowed and open; their writes must return promptly. The installed launcher separately owns bounded, cancellable stdout/stderr writes.

main(args=ARGS; out=stdout, err=stderr) -> Int

main(; ...)[source]#

Run the installed CLI protocol. Pure commands need no server. load and freeze require one explicit socket selector; there is no default-server fallback. Only --attach opens an interactive client. Return a documented exit code. The supplied streams remain borrowed and open; their writes must return promptly. The installed launcher separately owns bounded, cancellable stdout/stderr writes.

main(args=ARGS; out=stdout, err=stderr) -> Int
Parameters
Esc

Type to search.

Reference preview Open reference