debug du WIP

This commit is contained in:
Jan Nieuwenhuizen 2018-07-14 16:58:50 +02:00
parent 2c30f3c4c6
commit 870fc792d7
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
(let ((file (string-append debug-id "." id)))
(cons* command `("tee" ,file) lst)))
'() commands (map number->string (iota (length commands))))))
(foo (when (> %debug-level 0) (with-output-to-file debug-id (cut format #t "COMMANDS: ~s\n" commands))))
(foo (when (> %debug-level 1) (with-output-to-file debug-id (cut format #t "COMMANDS: ~s\n" commands))))
(ports (if (> (length commands) 1)
(let loop ((input (spawn fg? job (car commands) '())) ;; spawn-source
(commands (cdr commands)))