# error.Error.CommandFailed.exit_code

- **Module:** error.Error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f2bae84b9bf1f69fdb38c38c44476a506f071eb5/crates/libtmux/src/error.rs#L1029
- **Page:** https://libtmux.org/en/rs/latest/reference/error-error-commandfailed-exit_code/

```rs
exit_code: Option<i32>
```

The process exit code, when it exited normally.
