Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Pane.RespawnAsync

Restarts the command running in this pane.

Source and package
Qualified name
LibTmux.Pane.RespawnAsync
Namespace
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Topology.cs

Description

tmux refuses to respawn a pane that is still running unless the request kills it first.

Parameters

Recorded calls

source calls
No call edges in the C# model.

The C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Pane.RespawnAsync.

tmux command

task material

The tmux commands behind RespawnAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 12 other ports mapped

Source-verified mappings for Restart a pane's command. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Restart a pane's command in each port
PortAPIDiffers from C#
C# LibTmux.Pane.RespawnAsync
Restarts the command running in this pane.
This page
Python libtmux.Pane.respawn
Respawn the pane process via $ tmux respawn-pane.
None recorded in the model
Ruby LibTmux::Pane#respawn
Behavior: Entity mutation.
None recorded in the model
Lua libtmux.Pane:respawn None recorded in the model
Erlang tmux_pane:respawn/2
Respawn this registered physical pane, keeping its pane ID. force defaults false and a running pane normally returns command_error. force = true lets tmux close its existing PTY before spawning again. This acknowledges the tmux command, not former-job termination or successful application initialization. The old PTY can already be closed if a later spawn step fails.
free function
TypeScript pane.Pane.respawn
Restart this pane's command in place.
None recorded in the model
Rust pane.Pane.respawn
Restart the pane's command in place.
async
Go tmux.Pane.Respawn
Respawn restarts the process in the receiver's exact linked pane on every supported tmux. Command, when present, is passed as one tmux shell-command operand; Go neither executes it locally nor adds inner-shell quoting. Final semicolon protection applies only to tmux's outer command parser. See RespawnRequest for zero-value, directory, environment, and Kill behavior.
None recorded in the model
Java io.github.libtmux.Pane.respawn
Kills whatever runs here and starts the pane's default command again.
2 overloads
C++ libtmux::Pane::respawn
Start the pane's command again.
2 overloadsreadonly
Swift Server.respawn(_:running:killingExisting:) asyncon Server
OCaml Libtmux_unix.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.
free function
Raku LibTmux::Model::PaneRef.respawn
Restart the target's process; kill must be explicit when replacing a running process.
on PaneRef
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Perl equivalent.

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
Search in

Type to search.

Reference previewOpen reference