[Twisted-Python] Re: twisted application server

Phil Mayers p.mayers at imperial.ac.uk
Sat Mar 8 06:04:34 EST 2008


Manlio Perillo wrote:
> Phil Mayers ha scritto:
>> Mike Pelletier wrote:
>>> On Fri, Mar 7, 2008 at 8:36 AM, Phil Mayers <p.mayers at imperial.ac.uk> 
>>> wrote:
>>>>  If you fork a python interpreter, you should very quickly replace the
>>>>  process with exec.
>>>
>>> Does fork+exec have any advantages over spawn?
>>
>> If you mean "os.spawnXX" I think that, under Unix, those *are* fork & 
>> exec, so no - they're identical.
>>
>> I don't think there's a native unix syscall "spawn".
>>
> 
> http://www.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html

I said "unix" not "posix extenisions for MMU-less realtime/embedded 
systems"




More information about the Twisted-Python mailing list