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

poojarusia

macrumors newbie
Original poster
Oct 13, 2008
7
0
hello...:apple::apple:


I am developing some apps on a iPhone . I am relatively new to this. Con someone tell me what is the best way to execute shell commands from within the iphone app (I need to execute some shell commands while ).

I tried execl() and system() commands, but they don't work. I can compile the code, but none of the shell commands get executed. I have read somewhere that NSTask will not work on the iPhone.

PLEASE PLEASE help me out with some sample code to: "OPEN AN FILE(or Application) in iPhone Development using SYSTEM() Command or any alternative

Any help would be appreciated. Thanks.:apple::apple:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.