[Zope-Checkins] SVN: Zope/trunk/ - The ZEO server now records its
PID to a file like the ZEO
tim.peters at gmail.com
Thu Mar 17 16:30:49 EST 2005
>> - Dont even bother trying to call make_pidfile or
>> remove_pidfile if we detect we're on Windows.
> This may be reasonable. I don't know that these files have any
> application on Windows; their history and use is very much from Unix.
I suspect we would regret exempting Windows here. Mark Hammond has
had several important patches backed up in the Collector for months,
aiming at improving how Zope runs on Windows, and ZEO too. At least
the latter starts to give ZEO some limited signal-handling smarts on
Windows. The pid _concept_ makes sense on Windows too -- although
it's confused by that Windows has both "process identifiers" and
"process handles", both of which look like integers.
In any case, I don't see how the code here could get any simpler, or
more correct, by adding "is it Windows?" tests; and except _perhaps_
for using text mode to open the pid file for writing, nothing here is
More information about the Zope-Checkins