[Zope-Checkins] SVN: Zope/trunk/ - The ZEO server now records its PID to a file like the ZEO

Tim Peters tim.peters at gmail.com
Thu Mar 17 17:47:44 EST 2005


[Tim]
>> 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.

[Fred] 
> Yeah; someone with time needs to look at those.

Sidnei actually checked one of those in today (a different one than
we're talking about here).  So there's some progress on that front --
& all of it today <wink>.

...

> The pid files should be opened as text files.

OK, that's settled.

> Opinions differ regarding whether a newline should follow the pid, however.
>  (I'm in the pro-newline camp, myself, simply because it makes it easier to
> read the output of "cat pidfile" on Unix.)

So easiest in the patch would be to replace

                f.write(`pid`)

with
                print >> f, pid
 
Piece o' cake.


More information about the Zope-Checkins mailing list