>
> 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
___
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
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
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
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.
>
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