Use send/recv approach.

This commit is contained in:
Dominik Pantůček 2023-05-19 19:45:30 +02:00
parent 517e1baeb6
commit 3b086a0f30

View file

@ -149,8 +149,8 @@
(define (add-email-to-mailman-list listname email)
(print "Add " email " to " listname ".")
(let ((result
(get-mailman-output-lines
"add_members" "-r" "-" listname
(mailman-send/recv
(list "add_members" "-r" "-" listname)
(sprintf "<<<\"~A\"" email))))
(let loop ((lines result))
(when (not (null? lines))