src.WorkspaceBuilder.build
-
Create the session a workspace describes, and return it.
Description#
Windows and panes are created in the order the configuration lists them. Nothing is attached: the caller decides whether to take over a terminal.
Errors
Returns an error when a session of the same name exists, or when tmux refuses any step.
Guides#
Pages that discuss build.
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 |
| Go | workspace |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| 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#.