Re: Launching another app with command line arguments

2020-06-21 Thread Gabriel Zachmann via Cocoa-dev
Thanks a lot to everybody for helping! I have tried a number of approaches. For the moment , I have settled for an app group container. Both apps are members of the same app group container. In that, app A creates a file with the flags, then launches app B, and B reads the flags file (if present

Re: Launching another app with command line arguments

2020-06-21 Thread Gabriel Zachmann via Cocoa-dev
Thanks a lot. I tried this in my app A , but I keep getting the error message launch path not accessible together with a stack trace. I am getting the url to my app B like this: url_ = NSWorkspace.shared.urlForApplication( withBundleIdentifier: "de.zach.AppB" ) which points to /priva