While I agree with the URL scheme launching approach, I’ve seem to remember using NSTask to run a shell script. It would be interesting to see how that works.
In Xcode prebuild scripts, I launch a shell script that gets the app PID and launches other apps or scripts based on the app PID state to help debug memory leaks. It feels hacky, but I’d be interested in seeing if that works. In a MacOS app, I can use NSTask if I remember correctly, but that approach doesn’t work in iOS. Let us know how it goes. > On Jun 16, 2020, at 2:05 PM, Gabriel Zachmann <z...@cs.uni-bremen.de> wrote: > > Sorry, macOS. > > Best regards, Gabriel > >> Mac, iOS, WatchOS, iPadOS? TRS-80 Basic? Which platform? >> > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com