diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/cuirass.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in index 7e3c5cf..fa0d6af 100644 --- a/bin/cuirass.in +++ b/bin/cuirass.in @@ -77,6 +77,11 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@" ;;; (define* (main #:optional (args (command-line))) + + ;; Always have stdout/stderr line-buffered. + (setvbuf (current-output-port) _IOLBF) + (setvbuf (current-error-port) _IOLBF) + (let ((opts (getopt-long args %options))) (parameterize ((%program-name (car args)) |