[plt-scheme] behavior of (current-directory) OSX

From: Jesus Boadas (jboadas at gmail.com)
Date: Mon Mar 2 12:53:37 EST 2009

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





2009/3/2 Thomas Chust <chust at web.de>

> 2009-03-02 Jesus Boadas <jboadas at gmail.com>:
> > I created this little program
> >
> > (format (path->string (current-directory)))
> >
> > Compiled it and create stand-alone executable.
> > Then under command line it works well but If I create a Mac .app always
> > return "/" no matters where I run it.
> > [...]
>
> Hello,
>
> if you run it through LaunchServices, ie. from the Finder, Dock or
> using the open command line utility, then that's the normal behaviour
> for any MacOS X application, I think.
>
> cu,
> Thomas
>
>
> --
> When C++ is your hammer, every problem looks like your thumb.
>



-- 
Jesus Boadas
jboadas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090302/305e76ad/attachment.html>

Posted on the users mailing list.