Add exit code introspection to execution results