parent
867d83bb69
commit
b01c5da8ac
|
@ -33,10 +33,9 @@
|
|||
;; w[2] -> r[3] [sink]
|
||||
|
||||
(define (exec* command) ;; list of strings
|
||||
(let ((command (map (compose with-output-to-string (lambda (c) (lambda () (display c)))) command)))
|
||||
(catch #t (lambda () (apply execlp (cons (car command) command)))
|
||||
(lambda (key . args) (format (current-error-port) "~a\n" (caaddr args))
|
||||
(exit #f)))))
|
||||
(catch #t (lambda () (apply execlp (cons (car command) command)))
|
||||
(lambda (key . args) (format (current-error-port) "~a\n" (caaddr args))
|
||||
(exit #f))))
|
||||
|
||||
(define ((tee-n file-names) inputs outputs)
|
||||
(let* ((files (map open-output-file file-names))
|
||||
|
|
Loading…
Reference in New Issue