Cocoa Objective-C shell script from application?

后端 未结 2 1607
萌比男神i
萌比男神i 2021-02-04 21:58

I have an application that I\'m creating and would like to run a shell scripts from within it. One of the scripts creates a .plist file, and the other does a patch on a binary f

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-04 22:43

    The easiest way I know is NSTask. It's just like a terminal command from where you can call your bash script.

提交回复
热议问题