# types.SpawnOptions.placement

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/ad09eaef7ffff40f510989ee0695852c44a31576/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.
