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.