use `exec` instead of `system`
use `exec` instead of `system`

This replaces the current process with wkhtmltopdf instead of running it in a subprocess. This way, when the process is killed, wkhtmltopdf won’t keep running as an orphan.
zakird/wkhtmltopdf_binary_gem