[Twisted-Python] _twistd_unix.py / daemonize() / OSX / USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER

Phil Mayers p.mayers at imperial.ac.uk
Wed Oct 13 11:55:43 EDT 2010


On 13/10/10 16:52, Phil Mayers wrote:
>
> If this really is true, then MacOS X is no longer posix-compliant in
> those circumstances, and Twisted is going to need some work :o(
>
> Can you share more details about the application; the context in which
> it is started, and which system libraries it's likely to load?

Ah; apparently:

http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/Multithreading/AboutThreads/AboutThreads.html

"""using the fork function [...] Applications that depend on the Core 
Foundation, Cocoa, or Core Data frameworks (either explicitly or 
implicitly) must make a subsequent call to an exec function or those 
frameworks may behave improperly."""

Bah.



More information about the Twisted-Python mailing list