Convert shell script to Objective-C CLI
I am planning to convert a rather long shell script to an Objective C command line tool. I am planning to use NSTask to run shell commands (this is a big script and it has several thousand copy / move / delete operations). My question is, will constantly allocating and freeing NSTask objects to run all these commands have a lot of results?
Is there a better way to do this than using NSTask?
thank
+2
source to share