On 3/4/2010 4:46 AM, Cedric Jeanneret wrote:
> 
> uho, found it !!
> mailman/bin/arch toto
> 
> I guess that's all :))


You may or may not be able to use bin/arch, but you can't use it in
conjunction with an external archiver because of list locking. If you
call bin/arch from your external archiver and wait for it to return, you
will have a deadlock, and if you don't wait, it won't run until after
your external archiver finishes.

I.e., an external archiver command like

'|/path/bin/arch $(listname)s;/path/myscript.py $(listname)s'

creates a deadlock, and one like

'|/path/bin/arch $(listname)s&/path/myscript.py $(listname)s'

doesn't work because myscript.py has to complete before bin/arch can
obtain the list lock.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to