for example:
```ruby
rc = $?.exitstatus
if rc != 0