Use basic mailman output.
This commit is contained in:
parent
10174a81a2
commit
693324d65d
1 changed files with 6 additions and 3 deletions
|
@ -45,12 +45,15 @@
|
||||||
(make-pathname (*mailman-bin*) bin))
|
(make-pathname (*mailman-bin*) bin))
|
||||||
|
|
||||||
;; Mailman-specific process output lines capture
|
;; Mailman-specific process output lines capture
|
||||||
(define (get-mailman-output-lines bin)
|
(define (get-mailman-output-lines bin . args)
|
||||||
(get-process-output-lines
|
(get-process-output-lines
|
||||||
(mailman-bin bin)))
|
(string-intersperse
|
||||||
|
(cons (mailman-bin bin)
|
||||||
|
args)
|
||||||
|
" ")))
|
||||||
|
|
||||||
;; Returns the list of available lists
|
;; Returns the list of available lists
|
||||||
(define (list-mailman-lists)
|
(define (list-mailman-lists)
|
||||||
(get-mailman-output-lines "list_lists"))
|
(get-mailman-output-lines "list_lists" "-b"))
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue