[Twisted-Python] Re: twisted application server
Manlio Perillo
manlio_perillo at libero.it
Sat Mar 8 02:36:49 MST 2008
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
Note that the page may require registration to be viewed.
> [...]
Manlio Perillo
More information about the Twisted-Python
mailing list