#| -*-Scheme-*-
-$Id: syncproc.scm,v 1.6 1999/02/01 03:28:31 cph Exp $
+$Id: syncproc.scm,v 1.7 1999/02/01 05:00:44 cph Exp $
Copyright (c) 1999 Massachusetts Institute of Technology
(apply make-subprocess-context options)))
\f
(define (run-synchronous-subprocess-1 program arguments context)
- (let* ((directory (subprocess-context/working-directory context))
- (process #f))
+ (let ((directory
+ (let ((directory (subprocess-context/working-directory context)))
+ (and directory
+ (merge-pathnames directory))))
+ (process #f))
(bind-condition-handler '()
(lambda (condition)
(if (and process (not (eq? process 'DELETED)))