Re: Launching another app from mine

2020-06-16 Thread Gabriel Zachmann via Cocoa-dev
> > NSWorkspace does this. Look at the launchApplication method. You can get the > app name from the bundle identifier using the NSWorkSpace > URLForApplicationWithBundleIdentifier method. Thanks! seems to work like a charm. Best, G. smime.p7s Description: S/MIME cryptographic signature ___

Re: Launching another app from mine

2020-06-16 Thread Alex Zavatone via Cocoa-dev
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 stat

Re: Launching another app from mine

2020-06-16 Thread Gabriel Zachmann via Cocoa-dev
Sorry, macOS. Best regards, Gabriel > Mac, iOS, WatchOS, iPadOS? TRS-80 Basic? Which platform? > smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or m

Re: Launching another app from mine

2020-06-15 Thread Alex Zavatone via Cocoa-dev
Mac, iOS, WatchOS, iPadOS? TRS-80 Basic? Which platform? > On Jun 15, 2020, at 1:30 PM, Gabriel Zachmann via Cocoa-dev > 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 u

Re: Launching another app from mine

2020-06-15 Thread James Crate via Cocoa-dev
On Jun 15, 2020, at 2:30 PM, Gabriel Zachmann via Cocoa-dev 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. >

Re: Launching another app from mine

2020-06-15 Thread Eric Dolecki via Cocoa-dev
Deep link? URL scheme. If the app being linked to isn’t installed, I think it’s a silent “error”. (sent from my iPhone) From: Gabriel Zachmann via Cocoa-dev Sent: Monday, June 15, 2020 2:30:55 PM To: cocoa-dev@lists.apple.com Subject: Launching another app from