pub fn install(hook: fn() -> Result<(), Error>)
Makes hook the process’s interrupt check. The first check installed stays, and a later call does nothing.
hook