We could make this a bit simpler

```ruby
Process.respond_to?(:setproctitle) ? Process.setproctitle(process_title) : $0 = process_title
```