Yes you are right this is osx normal behavior<br><br>I need the current path to get references to resources. Any ideas for other way to make this work<br><br><div class="gmail_quote"><br><br><br><br>2009/3/2 Thomas Chust <span dir="ltr"><<a href="mailto:chust@web.de">chust@web.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009-03-02 Jesus Boadas <<a href="mailto:jboadas@gmail.com">jboadas@gmail.com</a>>:<br>
> I created this little program<br>
><br>
> (format (path->string (current-directory)))<br>
><br>
> Compiled it and create stand-alone executable.<br>
> Then under command line it works well but If I create a Mac .app always<br>
> return "/" no matters where I run it.<br>
> [...]<br>
<br>
Hello,<br>
<br>
if you run it through LaunchServices, ie. from the Finder, Dock or<br>
using the open command line utility, then that's the normal behaviour<br>
for any MacOS X application, I think.<br>
<br>
cu,<br>
Thomas<br>
<font color="#888888"><br>
<br>
--<br>
When C++ is your hammer, every problem looks like your thumb.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Jesus Boadas<br><a href="mailto:jboadas@gmail.com">jboadas@gmail.com</a><br>