# LibTmux::CommandResult::exit_code

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/CommandResult.pm#L5
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-commandresult-exit_code/

```
sub exit_code($self)
```

Return an exit code or undef when no child status is known.

## Methods
