On Jun 15, 2020, at 2:30 PM, Gabriel Zachmann via Cocoa-dev <[email protected]> wrote: > > I would like to launch application B from my application A using Swift. > Both applications are created, compiled, signed, and notarized by me. > Challenge: no user intervention should be necessary when launching B from A. > > Is that possible?
NSWorkspace does this. Look at the launchApplication method. You can get the app name from the bundle identifier using the NSWorkSpace URLForApplicationWithBundleIdentifier method. Jim Crate _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
