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

respawn_pane

Restart only the pane’s configured process; no caller command is accepted. Start a pane’s configured process; accepts no command payload.

All C++ tools · JSON · Source

Arguments

force optional · boolean
Permit replacing a running pane process.
killFirst optional · boolean
Kill a running pane process before respawn.
paneId required · string
Stable pane ID.
startDirectory optional · string
Literal replacement start directory.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"force": {
"description": "Permit replacing a running pane process.",
"type": "boolean"
},
"killFirst": {
"description": "Kill a running pane process before respawn.",
"type": "boolean"
},
"paneId": {
"description": "Stable pane ID.",
"maxLength": 512,
"type": "string"
},
"startDirectory": {
"description": "Literal replacement start directory.",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"paneId"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"changed": {
"type": "boolean"
},
"pane_id": {
"pattern": "^%[0-9]+$",
"type": "string"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Respawn a tmux pane"
}
Esc

Type to search.