Not sure if this is the right place or if jailbreaking is ok to talk about here but I am curious if anyone has successfully been able to use the system() call from within an iOS application on a jailbreak device.

I keep getting a 32512 return value which seems to indicate "Command not found". I've tried to specify the full path to the command or even using a command/script from within my own sandbox and it still is always the same return code and failure to execute.

When I've read about using system() calls , the general consensus seems to be that 'it just works' and I haven't been able to find any information as to why this might be happening.

Any help appreciated or if there's more of a developer forum to post in, let me know. Thanks