# types.SpawnOptions.placement

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/types.ts#L527
- **Page:** https://libtmux.org/en/ts/latest/reference/types-spawnoptions-placement/

`"session"`, the default without [`from`](/en/ts/latest/reference/types-spawnoptions-from/), is a detached session of the program's own. With [`from`](/en/ts/latest/reference/types-spawnoptions-from/), `"window"`, the default, is a background window of that pane's session, and `"split"` splits that pane, leaving focus where it was.
