Gracefully stop a child process before a macOS app quits

· Flaviocopes · Aug. 20, 2026, 2:44 p.m.
Summary
This blog post discusses techniques for gracefully stopping a child process in a macOS application, focusing on interrupting the process, handling timeouts, finalizing output properly, and ensuring the application does not terminate until the file is safely processed.