Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
11-24-2008, 10:33 AM #1
Running terminal commands from an iPhone app?
- Join Date
- Oct 2007
- Thanked 5 Times in 1 Post
Lately I've been trying to make an app for the iPhone using the SDK. I have almost done it with one little exception - when you press the Done button I need to run some Terminal commands. But I had no luck with that. I tried with system() but couldn't make it to work. If someone could giva a sample code so I can see what I do wrong, or even better - tell me a way to run scripts, not individual commands, that would be great.
My idea is to make the program, then fake sign it and distribute it via Cydia. If someone could help me out I would really appreciate it.
11-30-2010, 10:57 AM #2
Damn, I need to know how to do this as well.
I need to run a terminal command as part of a package installation... Can I do that??
Any help would be great, sorry I can't help you out mate..