Thanks, Quinn. Your distinction between a child-process launch and an NSWorkspace launch was helpful. We have a few focused follow-up questions about supervising an NSWorkspace-launched app:
Is there a documented way to cancel or bound an outstanding asynchronous launch? If its completion arrives after the supervisor’s original deadline, what supported pattern would you recommend for handling that late completion and any resulting app instance?
For an app that is not the supervisor’s direct child, what supported pattern would you recommend for identifying the exact launched instance and observing confirmed termination, including PID reuse and an instance that exits before observation is established?
Can those outcomes reasonably be achieved with a narrowly scoped integration, without a separate foreground GUI bridge or process reparenting? If not, what minimum broader change would you suggest?
We understand that we still need to independently design and validate authenticated, per-attempt status reporting, admission against the original deadline, and cleanup. We are not assuming NSRunningApplication alone proves launch provenance, authorized control, or cleanup.