From 2d1f8c2d3d828520b2a95799fbd5065f6d227e5d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 1 Feb 1999 05:13:24 +0000 Subject: [PATCH] Allow working directory to be a pathname. --- v7/src/runtime/process.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 () -- 2.25.1