I stand corrected - iOS fork() refuses to work.
On Oct 22, 2013, at 11:59, Clark S. Cox III wrote:
>
> On Oct 21, 2013, at 20:02, Maxthon Chan 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 s
On Oct 21, 2013, at 20:02, Maxthon Chan 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 iO
No, this pipe/fork/dup2/exec is used in App Store apps - iSSH is an example as
it used its separate PuTTY executable. 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.
On Oct 22,
On Oct 21, 2013, at 6:26 PM, Koen van der Drift
wrote:
> The question now is, how do I call the functions in this library?
> On the command line, I need to do something like this:
> foo file1 > output
> With NSTask and companions it is easy to do this, but how can I do that for
> iOS where NST
On Oct 21, 2013, at 7:02 PM, ChanMaxthon 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 cle
If you can understand the code, just read it and make it a library.
Else, you need an alternative. Try research on how iSSH work. (They have a
separate PuTTY executable, due to license issues)
On Oct 22, 2013, at 10:52, Koen van der Drift wrote:
>
> On Oct 21, 2013, at 10:12 PM, Roland King
On Oct 21, 2013, at 10:12 PM, Roland King wrote:
> No fork() on iOS and the GNUStep version of NSTask uses fork(), so that's not
> going to work.
>
> Apart from that, if you've built the library, you just call the functions.
Actually, the library doesn't create functions, just executable bi
No fork() on iOS and the GNUStep version of NSTask uses fork(), so that's not
going to work.
Apart from that, if you've built the library, you just call the functions.
On 22 Oct, 2013, at 10:02 am, ChanMaxthon wrote:
> Despite NSTask is missing in runtime, your day can still be saved by:
>
Despite NSTask is missing in runtime, your day can still be saved by:
1) You can use the NSTask implementation from GNUstep, an LGPL-licensed library.
2) You can still use classic UNIX function calls to pipe/fork/dup2/exec
Sent from my iPhone
> On 2013年10月22日, at 9:37, Daniel DeCovnick wrote:
>
Import the headers and call the functions, if you're linking your application
against it.
Daniel
On Oct 21, 2013, at 6:26 PM, Koen van der Drift
wrote:
> Ok, I figured it out. I was able to build three different static libraries
> for armv7, armv7s and i386 and combined them with lipo into
Ok, I figured it out. I was able to build three different static libraries for
armv7, armv7s and i386 and combined them with lipo into one that I added to my
project.
The question now is, how do I call the functions in this library?
On the command line, I need to do something like this:
foo fi
I think I am on the right track now. I'm building the project (plain c) on the
command line with an updated makefile for iOS, but am getting some compiler and
linker errors. Since this is outside the scope of this mailing list I will ask
additional questions on the Xcode list.
- Koen.
On Oc
On Oct 21, 2013, at 2:43 PM, Jens Alfke wrote:
> Can you configure that project as a [static] library that you can link into
> your app and call directly?
Yeah, I though about that as well, and am going to try that. It comes with
makefiles for Mac (OSX only though), so I'll start with that.
On Oct 21, 2013, at 11:04 AM, Koen van der Drift
wrote:
> I'm considering to add some functionality to my app from a 3rd party open
> source project.
What’s the project?
> I've compiled the program with homebrew and copied the bin files into my
> Xcode project. I looked into NSTask, but th
14 matches
Mail list logo