Commit 1840c759 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

kernel: Buffer the output and error ports.

* guix-jupyter-kernel.scm <top level>: Add 'setvbuf' calls.
parent a887e449
......@@ -735,6 +735,9 @@ environment ~s (PID ~s)~%"
(sigaction SIGTERM (exit-handler kernel))
(sigaction SIGINT (exit-handler kernel))
(setvbuf (current-output-port) 'line)
(setvbuf (current-error-port) 'line)
(format/log "Guix kernel started (PID ~a)~%" (getpid))
(with-store store
;; Enable "build traces" so we can use (guix status) to track build and
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment