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">&lt;<a href="mailto:chust@web.de">chust@web.de</a>&gt;</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 &lt;<a href="mailto:jboadas@gmail.com">jboadas@gmail.com</a>&gt;:<br>

&gt; I created this little program<br>
&gt;<br>
&gt; (format (path-&gt;string (current-directory)))<br>
&gt;<br>
&gt; Compiled it and create stand-alone executable.<br>
&gt; Then under command line it works well but If I create a Mac .app always<br>
&gt; return &quot;/&quot; no matters where I run it.<br>
&gt; [...]<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&#39;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>