This should be registered as temporary _before_ the `exec()` call.