libtmux::Server::startable_at_socket_path
C++
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++
- Swift Unavailable
- Module
- libtmux
- Declared in
- Server
- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- startable_at_socket_path ( path : std::string_view , configuration : std::optional< std::filesystem::path > , observer : CommandObserver = {} , policy : ExecutionPolicy = {} ) expected< Server, CommandFailure > ( typename Path , path : Path && , configuration : std::optional< std::filesystem::path > , observer : CommandObserver = {} , policy : ExecutionPolicy = {} ) typename Path
-
A socket handle that may create an absent server on its first
new_sessioncall or an explicitrun({"start-server"}).configurationis passed to tmux as-f; absent preserves tmux's user configuration. Every other call remains no-start while the socket is absent. The selector and configuration are frozen in the handle, and concurrent first-session calls are serialized.
0 declared, 0 inherited