Pane.respawn
Respawn the pane process via $ tmux respawn-pane.
Source and package
-
Examples#
>>> pane = window.split(shell='sleep 1m')>>> pane.respawn(kill=True, shell='sh')- Parameters
-
-
shell(str | None) # – Shell command to run in the respawned pane. -
start_directory(StrPath | None) # – Working directory for the respawned pane (-cflag). -
environment(dict[str, str] | None) # – Environment variables (-eflag). -
kill(bool | None) # – Kill the current process before respawning (-kflag). Required if the pane is still active.
-
tmux command
respawn-paneIn other ports Restart a pane's command
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby
- Lua
- TypeScript
- Rust
- Go
- Java
- C#
- C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.