[plt-scheme] behavior of (current-directory) OSX
It works like a charm, very thanks
2009/3/2 Eli Barzilay <eli at barzilay.org>
> 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!
>
--
Jesus Boadas
jboadas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090302/6ea1bffe/attachment.html>