# target.TmuxArg.as_os_str

- **Module:** target.TmuxArg
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/target.rs#L815
- **Page:** https://libtmux.org/en/rs/latest/reference/target-tmuxarg-as_os_str/

```
target.TmuxArg.as_os_str(self) -> &OsStr
```

Borrow the bytes as they will reach tmux, escaped or not.
