Re: 3rd party executable in iOS project
Re: 3rd party executable in iOS project
- Subject: Re: 3rd party executable in iOS project
- From: "Clark S. Cox III" <email@hidden>
- Date: Mon, 21 Oct 2013 20:59:54 -0700
On Oct 21, 2013, at 20:02, Maxthon Chan <email@hidden> 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@hidden> wrote:
>
>>
>> On Oct 21, 2013, at 7:02 PM, ChanMaxthon <email@hidden> 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@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden