Pass the injected value to post()

After injecting a runtime argument, pass the injected value to the
post-execution function. This is useful in scenarios where the injected value
is a resource that needs cleaning up.