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

Swift API

Swift documentation

Server.run(_:)

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/CommandList.swift
run(_:) ( list : TmuxCommandList ) → TmuxReply ( command : TmuxCommand ) → TmuxReply
methodasyncoverload2 overloads [source]
methodasyncoverload2 overloads [source]
run(_:)

Runs a list of commands in one tmux invocation.

The reply covers the whole list. tmux stops at the first command that fails, so a nonzero status means some prefix of the list ran — read the standard error to learn which command tmux objected to.

Running an empty list is a no-op that reports success without invoking tmux at all.

Raises

0 declared, 0 inherited

Esc

Type to search.