catch all errors
This commit is contained in:
parent
6e556508f5
commit
2446a63281
|
@ -20,7 +20,9 @@
|
|||
;; [source] w -> r [filter] w -> r [sink]
|
||||
|
||||
(define (exec* command) ;; list of strings
|
||||
(apply execlp (cons (car command) command)))
|
||||
(catch #t (lambda () (apply execlp (cons (car command) command)))
|
||||
(lambda (key . args) (display (string-append (caaddr args) "\n"))
|
||||
(exit #f))))
|
||||
|
||||
(define (setup-process fg? job)
|
||||
(when (isatty? (current-error-port))
|
||||
|
|
Loading…
Reference in New Issue