Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

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

View as Markdown

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
methodstaticoverload2 overloads [source]
methodstaticoverload2 overloads [source]
startable_at_socket_path

A socket handle that may create an absent server on its first new_session call or an explicit run({"start-server"}).

configuration is 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

Esc

Type to search.