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

respawn_pane

Start a pane’s configured process; accepts no command payload. Only restarts a pane whose command has ALREADY EXITED. killExistingProcess overrides that and kills what is running first — an editor holding unsaved changes, a build part way through. It reruns the command the pane was created with rather than running something new.

All .NET tools · JSON · Source

Arguments

killExistingProcess optional · boolean
Kill the existing pane process first.

Default: false.

paneId optional · string | null
A pane id. Omit for the active pane.

Default: null.

startDirectory optional · string | null
The literal starting directory.

Default: null.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"killExistingProcess": {
"default": false,
"description": "Kill the existing pane process first.",
"type": "boolean"
},
"paneId": {
"default": null,
"description": "A pane id. Omit for the active pane.",
"type": [
"string",
"null"
]
},
"startDirectory": {
"default": null,
"description": "The literal starting directory.",
"type": [
"string",
"null"
]
}
},
"type": "object"
}
Output schema
{
"properties": {
"changed": {
"type": "string"
},
"paneId": {
"default": null,
"type": [
"string",
"null"
]
},
"sessionId": {
"default": null,
"type": [
"string",
"null"
]
},
"windowId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"required": [
"changed"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Respawn pane"
}
Esc

Type to search.