Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Client.respawn_pane

Start the supplied command in the existing pane. A running process causes failure unless kill_running:true explicitly replaces it. The pane ID remains unchanged.

Source and package
Qualified name
Libtmux_unix.Client.respawn_pane
Module
Libtmux_unix
Declared in
Client
Package
libtmux-unix
Source
unix/libtmux_unix.mli
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F# Clojure
val respawn_pane : ?cancel:Cancellation.t -> ?kill_running:bool -> t -> Libtmux.Pane.target -> Libtmux.Spawn.t -> (unit, Libtmux.Error.t) result

Public owner: Libtmux_unix

tmux command#

The tmux commands behind respawn_pane.

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Restart a pane's command

Equivalents of Restart a pane's command in other languages
Language Equivalent
Python libtmux.Pane.respawn
Ruby LibTmux::Pane#respawn
Lua libtmux.Pane:respawn
Erlang tmux_pane:respawn/2
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript pane.Pane.respawn
Rust pane.Pane.respawn
Go tmux.Pane.Respawn
Java io.github.libtmux.Pane.respawn
C# LibTmux.Pane.RespawnAsync
C++ libtmux::Pane::respawn
Swift Server.respawn(_:running:killingExisting:)
Perl No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference