# command.Command.new

- **Module:** command.Command
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/command.rs#L131
- **Page:** https://libtmux.org/reference/rs/command-command-new/

```
command.Command.new(subcommand: impl Into<OsString>) -> Self
```
