如何在cocoa应用程序之间传递参数(how to pass parameters between cocoa applications)
我有一个Cocoa应用程序(.app),我想从另一个Cocoa应用程序启动它,这里没问题,但有没有办法启动第二个应用程序传递一些参数? 也许在main函数中使用argv []数组?
I have a Cocoa application (.app) and I would like to launch it from another Cocoa application, no problem here, but is there any way to launch the second application passing it some parameters ? maybe using the argv[] array in the main function?
原文:https://stackoverflow.com/questions/9858112
更新时间:2023-08-09 20:08