# tmux_window:respawn_options/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_window.erl#L28
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_window-respawn_options-0/

```
-type respawn_options() ::
          #{force => boolean(),
            launch => tmux_command:respawn_spec(),
            cwd => binary(),
            env => #{binary() => binary()}}.
```

Physical-window respawn options. Defaults: force false, launch previous, saved cwd. A forced respawn removes other panes.
