Can't you write (build-path (getenv "WORKSPACE") ....) ? Laurent
On Fri, Sep 28, 2012 at 11:30 PM, Nick Shelley <[email protected]>wrote: > I can't seem to find a path function that deals with environment > variables. Is there some variant of cleanse-path that resolves environment > variables first? > > Concretely, I have an environment variable $WORKSPACE that tells where I'm > operating from. The result of (getenv "WORKSPACE") is the correct absolute > path, but (build-path "$WORKSPACE" ...) doesn't resolve the variable, so my > filesystem commands are failing. > > Thanks. > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users > >
____________________ Racket Users list: http://lists.racket-lang.org/users

