# window.SplitOptions.start_directory

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

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

Set the new pane's working directory.

The directory is sent literally. [`TmuxArg::format`] opts into
expansion, which is how `#{pane_current_path}` is asked for.
