# spawn_context

- **Language:** C
- **Kind:** struct
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L2331
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-struct-spawn_context/

```c
struct spawn_context;
```

## Members

### Other members

- [`argc`](/en/tmux/latest/reference/c-struct-spawn_context-argc/) (attribute)
- [`argv`](/en/tmux/latest/reference/c-struct-spawn_context-argv/) (attribute)
- [`cwd`](/en/tmux/latest/reference/c-struct-spawn_context-cwd/) (attribute)
- [`environ`](/en/tmux/latest/reference/c-struct-spawn_context-environ/) (attribute)
- [`flags`](/en/tmux/latest/reference/c-struct-spawn_context-flags/) (attribute)
- [`idx`](/en/tmux/latest/reference/c-struct-spawn_context-idx/) (attribute)
- [`item`](/en/tmux/latest/reference/c-struct-spawn_context-item/) (attribute)
- [`lc`](/en/tmux/latest/reference/c-struct-spawn_context-lc/) (attribute)
- [`name`](/en/tmux/latest/reference/c-struct-spawn_context-name/) (attribute)
- [`s`](/en/tmux/latest/reference/c-struct-spawn_context-s/) (attribute)
- [`tc`](/en/tmux/latest/reference/c-struct-spawn_context-tc/) (attribute)
- [`wl`](/en/tmux/latest/reference/c-struct-spawn_context-wl/) (attribute)
- [`wp0`](/en/tmux/latest/reference/c-struct-spawn_context-wp0/) (attribute)
