libtmux::workspace::build
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] libtmux::expected <libtmux::Session , BuildError > build(const Server& server, const Workspace& description, const BeforeBuild & before = {}, const BuildObserver & observer = {}, std::optional <int> width = std::nullopt , std::optional <int> height = std::nullopt ); -
- Parameters
-
-
description(const Workspace &) # -
before(const BeforeBuild &) # -
observer(const BuildObserver &) # -
width(std::optional <int>) # -
height(std::optional <int>) #
Guides#
Pages that discuss build.
- Examples
In other ports#
Build a session from a workspace description
| Language | Equivalent |
|---|---|
| Python | tmuxp |
| Ruby | Lib |
| PowerShell | Lib Applies the exact reviewed -Plan after PowerShell confirmation. -WhatIf previews without applying it; application is detached. |
| Julia | Lib Applies a prepared WorkspacePlan on an explicit Server, detached and under one deadline. Existing session names fail unless reuse is explicit. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| Common Lisp | libtmux |
| TypeScript | builder |
| Rust | src |
| Go | workspace |
| Java | io |
| C# | Lib |
| Swift | Workspace |
| OCaml | Libtmux Apply a validated Plan through submit, then await its retained execution receipt. Inspect preserves partial and late outcomes. |
| Perl | Lib Loads through installed public core APIs; existing-target policy and known owned rollback effects are explicit. |
No equivalent is recorded in Lua, Erlang, Elixir, Clojure, Kotlin, Scala or F#.