Pane.RespawnAsync
Restarts the command running in this pane.
Source and package
- Qualified name
-
LibTmux .Pane. Respawn Async - Namespace
- LibTmux
- Declared in
Pane- Package
- LibTmux
- Source
- src/LibTmux/Pane.Topology.cs
- Task RespawnAsync( Respawn
Request ? request = null, CancellationToken cancellationToken = default ) -
- Parameters
-
-
request(RespawnRequest ?) – What to respawn, or null to reuse the original.Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
Recorded calls
source callsThe 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 materialThe tmux commands behind RespawnAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 12 other ports mappedSource-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.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Restarts the command running in this pane. | This page |
| Python | libtmux Respawn the pane process via $ tmux respawn-pane. | None recorded in the model |
| Ruby | Lib Behavior: Entity mutation. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| Erlang | tmux 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 Restart this pane's command in place. | None recorded in the model |
| Rust | pane Restart the pane's command in place. | async |
| Go | tmux 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 Kills whatever runs here and starts the pane's default command again. | 2 overloads |
| C++ | libtmux:: Start the pane's command again. | 2 overloadsreadonly |
| Swift | Server | asyncon Server |
| OCaml | Libtmux 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 | Lib Restart the target's process; kill must be explicit when replacing a running process. | on PaneRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
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#.