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

myrythm

macrumors newbie
Original poster
May 22, 2008
2
0
I am developing some apps on a pwned 1.1.4 iPhone using the dev-team's tool chain. 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 am overriding the swipe method and I need to execute some shell commands while within this method). I have BSD installed on the phone.

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.

Any help would be appreciated. Thanks.
 
Any luck on this problem? I have the same question. I need to launch another process from my app.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.