[plt-scheme] behavior of (current-directory) OSX
In this case perhaps (find-system-path 'run-file) or
(find-system-path 'exec-file) are more appropriate?
On Mar 2, Robby Findler wrote:
> There are lots of ways to access various places in teh filesystem
> relative to your program. current-directory is, indeed, the
> current-directory where your program is running. If you want
> something relative to the location of the source files, you might
> look at define-runtime-path.
>
> Robby
>
> On Mon, Mar 2, 2009 at 11:53 AM, Jesus Boadas <jboadas at gmail.com> wrote:
> > Yes you are right this is osx normal behavior
> >
> > I need the current path to get references to resources. Any ideas
> > for other way to make this work
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!