gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

starting an app bundle natively - NSWorkspace launchApplication


From: Riccardo Mottola
Subject: starting an app bundle natively - NSWorkspace launchApplication
Date: Tue, 2 Jul 2024 22:15:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2

Hi,

is there a way to start an application - as in GNUstep or mac app bundle - natively from?
Something that would be the equivalent of gopen/openapp essentially.

To start a normal executable I can use NSTask.
I see two ways to implement it - search for the executable (GNUstep has tools equivalents, but not mac) and then run NSTask on it as a standard executable or use NSTask with openapp and the name as argument, but both are "kludges" in my opinion, involving some work.

is NSWorkspace's launchApplication the best answer?


Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]