No.
Well, if there were, that’d be a significant security bug (-:
Nice! Thanks for confirming that! At least we can rely on LaunchCodeRequirement on macOS 14.4+.
Not really. As you’ve determined, from the parent’s perspective it looks like the process died very early with a SIGKILL. There’s no additional information that comes along with that termination status. You could turn around and run code signing checks on the executable, but at best that only gives you indirect information.
Well, I expected process.run() to throw an exception I could catch and learn from it what exactly has happened in case of failed codesign requirement check. I can submit a feature request if you think it's doable.