LibTmuxWorkspace.main
-
Methods
main(arguments; out, err)[source]
Run the installed CLI protocol. Pure commands need no server.
loadandfreezetake at most one of--socketand--socket-name. With neither, the core'sServerreadsLIBTMUX_SOCKET_PATH, thenLIBTMUX_SOCKET, and otherwise leaves the choice to tmux. Only--attachopens 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) -> Intmain(; ...)[source]
Run the installed CLI protocol. Pure commands need no server.
loadandfreezetake at most one of--socketand--socket-name. With neither, the core'sServerreadsLIBTMUX_SOCKET_PATH, thenLIBTMUX_SOCKET, and otherwise leaves the choice to tmux. Only--attachopens 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
-
-
arguments=ARGS(Any) formain(arguments, out, err) -
out=stdout(IO) formain(arguments, out, err) -
err=stderr(IO) formain(arguments, out, err)
-