Re: starting an app bundle natively - NSWorkspace launchApplication

2024-07-08 Thread Riccardo Mottola
Hi, Fred Kiefer wrote: This could be handled by openFile:withApplication: in the same class. What I don’t see is how you could use any of this mechanisms for command completion but that is another question. the code looks for app bundles in standard locations () or analyzes the current dire

Re: starting an app bundle natively - NSWorkspace launchApplication

2024-07-03 Thread Fred Kiefer
> Am 04.07.2024 um 00:06 schrieb Riccardo Mottola : > > > Fred Kiefer wrote: >>> is NSWorkspace's launchApplication the best answer? >> Yes, to me this sounds like the right way to go. > > indeed, it works for running. It didn't yesterday because of some stupid > mistake of mine. > > Howeve

Re: starting an app bundle natively - NSWorkspace launchApplication

2024-07-03 Thread Riccardo Mottola
Hi Fred, Fred Kiefer wrote: is NSWorkspace's launchApplication the best answer? Yes, to me this sounds like the right way to go. indeed, it works for running. It didn't yesterday because of some stupid mistake of mine. However, GWorkspace has also "open with" where one wants to open certai

Re: starting an app bundle natively - NSWorkspace launchApplication

2024-07-02 Thread Fred Kiefer
> Am 02.07.2024 um 22:15 schrieb Riccardo Mottola : > > 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 wa