PDA

View Full Version : shell commands from within iphone app




myrythm
May 22, 2008, 11:53 PM
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.



myrythm
May 24, 2008, 09:56 PM
anyone can help me on this ????

HARDWARRIOR
Dec 17, 2008, 06:07 AM
Any luck on this problem? I have the same question. I need to launch another process from my app.