From 4c022191fac48d9f5d96cfafeda6aba59da627de Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 11 Sep 2011 21:35:15 +0200 Subject: Guile: capturing output to standard error We were just ignoring it so far! --- geiser/evaluation.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm index e4cf4b5..5562382 100644 --- a/geiser/evaluation.scm +++ b/geiser/evaluation.scm @@ -60,7 +60,8 @@ (lambda () (with-fluids ((*current-warning-port* (current-output-port)) (*current-warning-prefix* "")) - (set! result (thunk))))))) + (with-error-to-port (current-output-port) + (lambda () (set! result (thunk))))))))) (write-result result output))) (define (ge:compile form module) -- cgit v1.2.3