I stand corrected - iOS fork() refuses to work.

On Oct 22, 2013, at 11:59, Clark S. Cox III <[email protected]> wrote:

> 
> On Oct 21, 2013, at 20:02, Maxthon Chan <[email protected]> wrote:
> 
>> No, this pipe/fork/dup2/exec is used in App Store apps -
> 
> No. I am sorry, but you are wrong.
> 
>> iSSH is an example as it used its separate PuTTY executable.
> 
> iSSH does not use a separate executable. It is not possible to do so from a 
> 3rd party iOS app.
> 
>> Maybe straight fork() is not available but is there some replacement like 
>> posix_spawn()? iOS itself need some sort of mechanism to fork/exec or there 
>> will be no apps.
> 
> Any attempt to create a new process (whether by fork or posix_spawn or 
> whatever) will fail if called from a 3rd party iOS app.
> 
>> 
>> On Oct 22, 2013, at 10:56, Jens Alfke <[email protected]> wrote:
>> 
>>> 
>>> On Oct 21, 2013, at 7:02 PM, ChanMaxthon <[email protected]> wrote:
>>> 
>>>> 2) You can still use classic UNIX function calls to pipe/fork/dup2/exec
>>> 
>>> I think this is another of those “…ok, only if you jailbreak your device or 
>>> maybe if you’re building an enterprise-only app” things, right? You should 
>>> really make that clear, because I bet the vast majority of people here are 
>>> writing for the App Store.
> 
> -- 
> Clark Smith Cox III
> [email protected]
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to