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

class libtmux-dotnet

RespawnRequest

Describes one respawn-window or respawn-pane invocation.

Source and package
Qualified name
LibTmux.RespawnRequest
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Requests/RespawnRequest.cs
class LibTmux.RespawnRequest

Description

tmux refuses to respawn anything still running, so a caller who means to restart a live window or pane has to say so with KillExistingProcess.

Properties4

RespawnRequest properties
NameTypeDescription
Command string? Gets the command to run, or null to reuse the original.
Environment IReadOnlyDictionary<string, string>? Gets the environment entries set on the respawned target.
KillExistingProcess bool Gets whether a running process is killed first.
StartDirectory string? Gets the working directory to respawn in.

Members1 members

  • ToCommand Returns a respawn request as one tmux command for a pane.
Esc
Search in

Type to search.

Reference previewOpen reference