[Zope-dev] zopectl's -p options

Chris Withers chris at simplistix.co.uk
Tue Jul 27 03:17:26 EDT 2010


Hanno Schlichting wrote:
> On Mon, Jul 26, 2010 at 7:36 PM, Chris Withers <chris at simplistix.co.uk> wrote:
>> ...is currently useless, as far as I can see.
> 
> I thought the -p option was an artifact of zdaemon, which zopectl just
> didn't support. I took it as a case of the lower level API's leaking
> through.

I think it's an extremely useful feature ;-)
(likely broken by someone who didn't understand it, some time ago...)

>> I think the attached patch fixes this, but I'm wondering:
>>
>> - are these are tests for this area
> 
> I'm not aware of any.

OK, I guess that makes life easier in some ways ;-)

>> - why does self.program need to be a one element list?
> 
> No idea. I find most of the zdaemon and Zope2 startup code rather obscure.

Indeed. Well, unless anyone objects, I'd like to commit the patch I 
proposed...

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list