On this page
tmux.Server.Start
- Module
- tmux
- Declared in
- Server
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_attach.go
- Start ( ctx : context.Context ) error
-
Start starts the configured tmux server. It is idempotent when that server is already running. Completed stderr is an error; cancellation does not prove that a daemon was not started.
With tmux's exit-empty default, a server holding no sessions may exit before the next command even though Start succeeded. Create a session or disable exit-empty in
ServerOptions.ConfigFilebefore startup. UseServer.IsAliveorServer.RaiseIfDeadto check it.
0 declared, 0 inherited