Use send/recv approach.
This commit is contained in:
parent
517e1baeb6
commit
3b086a0f30
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@
|
||||||
(define (add-email-to-mailman-list listname email)
|
(define (add-email-to-mailman-list listname email)
|
||||||
(print "Add " email " to " listname ".")
|
(print "Add " email " to " listname ".")
|
||||||
(let ((result
|
(let ((result
|
||||||
(get-mailman-output-lines
|
(mailman-send/recv
|
||||||
"add_members" "-r" "-" listname
|
(list "add_members" "-r" "-" listname)
|
||||||
(sprintf "<<<\"~A\"" email))))
|
(sprintf "<<<\"~A\"" email))))
|
||||||
(let loop ((lines result))
|
(let loop ((lines result))
|
||||||
(when (not (null? lines))
|
(when (not (null? lines))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue