(define (shell* cmdln . options)
(let ((status (apply run-shell-command cmdln
'environment scheme-subprocess-environment
+ 'redisplay-hook flush-output
options)))
(if (not (zero? status))
(error "Shell command failed:" status cmdln))
status))
(define (shell*-noerror cmdln . options)
- (apply run-shell-command cmdln 'environment scheme-subprocess-environment
+ (apply run-shell-command cmdln
+ 'environment scheme-subprocess-environment
+ 'redisplay-hook flush-output
options))
(define (with-subprocess-environment-variable name value thunk)