← Back to context

Comment by enjolras

13 years ago

Note that the problem you describe for process is not a fundamental design choice. For instance, FreeBSD has added such API.

http://www.freebsd.org/cgi/man.cgi?query=pdfork

I wonder if this is going to make it to OSX at some point, given the commonality between OSX and FreeBSD?

  • OS X has provided such APIs for a while - you can create processes using posix_spawn rather than fork, and monitor them with kqueues.

    That said, if you're writing an app you might be able to go higher level and use XPC services, which can be much less pain.