[plt-scheme] process.ss can't find command

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Mar 12 11:55:51 EDT 2008

On Mar 12, Stephen De Gabrielle wrote:
> Thanks for the tip,
> 
> I've only taken a brief look, but it seems a solution is to run the
> config files ~/.profile /etc/profile in my system call. probably by
> constructing a string or file to pass to or execute by 'system'

You can run "/bin/sh -c \". /etc/profile;/bin/env\"" and parse the
results, then use `putenv' to change the mzscheme process's
environment accordingly.


> They should do no harm, modify path as needed, and work on linux's
> and osx transparently (I haven't thought about windows yet)

There is no need to do that on linux.  (And windows is the usual mess.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.