proc.waitUntilExit() blocks cooperative thread pool threads and deadlocks in Swift Concurrency Task context because NSRunLoop notifications aren't processed. Replace with terminationHandler + withCheckedContinuation pattern.
proc.waitUntilExit() blocks cooperative thread pool threads and deadlocks in Swift Concurrency Task context because NSRunLoop notifications aren't processed. Replace with terminationHandler + withCheckedContinuation pattern.