It would be useful to know the exit code of the installer from within a post-script.
Maybe the exit code could be stored in an environment variable from PatchMyPC-ScriptRunner.exe's session/scope, therefore child processes/scopes would inherit it.
It would be useful for this to be available in custom post-scripts for ConfigMgr Apps, WSUS/ConfigMgr Updates, and Intune Apps and Updates.