LibTmuxWorkspace.main
-
Methods#
main(arguments; out, err)[source]#
Run the installed CLI protocol. Pure commands need no server.
loadandfreezerequire one explicit socket selector; there is no default-server fallback. 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.
loadandfreezerequire one explicit socket selector; there is no default-server fallback. 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)) # -
argument1(formain(argument1)) #
-