[Zope-Coders] testDaemon.py failure
Jeremy Hylton
jeremy@zope.com
Thu, 25 Apr 2002 15:34:47 -0400
>>>>> "CW" == Chris Withers <chrisw@nipltd.com> writes:
CW> Can whoever put the platform specific code in the HEAD version
CW> of testDaemon.py sort it out please?
So you're calling me "whoever" this week? Well, it wasn't me this
time.
It looks like the platform-dependent code has *always* been in
zdaemon, but there were never any tests for zdaemon. I added a couple
of tests for it on Monday, and the mere fact that we now have a test
of zdaemon uncovers the long-standing problem.
I'm not sure what needs to be done -- perhaps Shane can help, since he
made the original checkin. Is zdaemon even used on Windows? Do we
want it to work there?
Toby added some calls recently that use posix.close(). We can easily
change those to os.close(). But posix.setsid() is not available on
Windows. I don't know what it does or whether it is crucial to have
it.
Jeremy