Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arunarora

macrumors newbie
Original poster
Hi all,

I am looking for a way to execute the commands in iPhone programmatically. Is there a function/method in Objective-C similar to system() or execl() in C.

Or, Is there some other function/method/API to achieve this in Objective-C.

Really appreciate any help.

Thanks a lot
Arun
 
Objective-C is a pure superset of C. Those C functions should be available. Of course use of them will result in your app being rejected due to the clear prohibition on launching other executables (apart from using the approved URL method).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.