From: Chris Hanson Date: Mon, 1 Feb 1999 05:13:24 +0000 (+0000) Subject: Allow working directory to be a pathname. X-Git-Tag: 20090517-FFI~4643 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2d1f8c2d3d828520b2a95799fbd5065f6d227e5d;p=mit-scheme.git Allow working directory to be a pathname. --- diff --git a/v7/src/runtime/process.scm b/v7/src/runtime/process.scm index 22c396bc4..efa71d287 100644 --- a/v7/src/runtime/process.scm +++ b/v7/src/runtime/process.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: process.scm,v 1.23 1999/02/01 03:29:24 cph Exp $ +$Id: process.scm,v 1.24 1999/02/01 05:13:24 cph Exp $ Copyright (c) 1989-1999 Massachusetts Institute of Technology @@ -167,7 +167,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (stderr (convert-stdio-arg stderr))) (if (pair? environment) (begin - (set! working-directory (cdr environment)) + (set! working-directory + (and (cdr environment) + (->namestring (cdr environment)))) (set! environment (car environment)))) (without-interrupts (lambda ()