# LibTmux.RespawnRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/RespawnRequest.cs#L11
- **Page:** https://libtmux.org/reference/dotnet/libtmux-respawnrequest/

Describes one <c>respawn-window</c> or <c>respawn-pane</c> invocation.

tmux refuses to respawn anything still running, so a caller who means to
restart a live window or pane has to say so with
<see cref="KillExistingProcess" />.

## Members

- `RespawnRequest` (method) — Initializes a respawn request.
- `Command` (property) — Gets the command to run, or null to reuse the original.
- `StartDirectory` (property) — Gets the working directory to respawn in.
- `Environment` (property) — Gets the environment entries set on the respawned target.
- `KillExistingProcess` (property) — Gets whether a running process is killed first.
