[Zope-ZEO] ZEO patches for NT

Júlio Dinis Silva juliodinis@hotmail.com
Mon, 10 Jul 2000 14:19:14 WEST


>I've been testing standalone  ZEO (without ZOPE) on  NT.
>Three changes I needed to make:
>
>1) In start.py, change line 211 from:
>     open(zeo_pid,'w').write("%s %s" % (os.getppid(), os.getpid()))
>to:
>     open(zeo_pid,'w').write("%s %s" % (os.getpid(), os.getpid()))
>
>I believe Júlio did the same or similar. I'm not sure if this is the 
>*correct*
>solution, but it seems to work [os.getppid() definitely does not].
>I recommend a platform check at that point in the code.

os.getppid() is a unix only python function. But I still dont know if the 
change to getpid is complete safe.


Júlio Dinis Silva
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com