# window.SplitOptions.start_directory

- **Module:** window.SplitOptions
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/window.rs#L1651
- **Page:** https://libtmux.org/reference/rs/window-splitoptions-start_directory/

```
window.SplitOptions.start_directory(mut, directory: impl Into<std::path::PathBuf>) -> Self
```

Set the new pane's working directory.

tmux expands this as a format, so [`crate::escape_format`] belongs
around text a program did not write.
