Is it possible to launch a new sub-process in iOS? (from regular application) If possible, how to do that?
Asked
Active
Viewed 1,526 times
8
-
What do you mean by "process"? (A thread of execution, or some form of external code?) – John Parker Jan 22 '11 at 12:44
-
@middaparka A program execution in separated memory. Not a thread. Threads can be made with pthread os NSThread :) – eonil Jan 22 '11 at 12:50
-
1I don't believe there's any form of [NSTask](http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSTask_Class/Reference/Reference.html) equivalent if that's the sort of thing you're after. (Bearing in mind the sandbox approach that's prevalent on iOS, this shouldn't be a surprise.) – John Parker Jan 22 '11 at 12:54
-
@middaparka Thanks for `NSTask` and additional description :) – eonil Jan 22 '11 at 13:01
1 Answers
9
While it may be possible with jailbreak apps, the SDK does not allow that. You are only allowed your own application's process. It can operate in the background (for a limited amount of time) and/or have however many threads of its own as you say, but they all have to belong to that one process.

BoltClock
- 700,868
- 160
- 1,392
- 1,356