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

Swift API

Swift documentation

Server.respawn(_:running:killingExisting:startDirectory:)

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/Navigation.swift
respawn(_:running:killingExisting:startDirectory:) ( pane : Pane , running : [String] , killingExisting : Bool , startDirectory : String? ) → ()
methodasync [source]
methodasync [source]
respawn(_:running:killingExisting:startDirectory:)

Restarts the command in a pane.

  • Parameters:
    • pane: the pane to restart.
    • command: what to run instead. Omitted, tmux repeats the command the pane was created with.
    • killingExisting: replaces whatever is still running, rather than refusing while the pane is busy.
    • startDirectory: where to start the replacement command.
Raises

0 declared, 0 inherited

Esc

Type to search.