Re: zopectl's -p options

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hanno Schlichting wrote:
> On Mon, Jul 26, 2010 at 7:36 PM, Chris Withers <[email protected]> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.