Hi.<br><br>On 5 December 2011 14:53, dokondr &lt;<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Main System.Environment.Executable System.FilePath&gt; &quot;/abc&quot; &lt;/&gt; &quot;/&quot;<br>

&gt; &quot;/&quot;<br>&gt;<br>&gt; Instead of getting &quot;/abc/&quot; I get &quot;/&quot;. What am I doing wrong?<br><br><br>It thinks the second path is an absolute path.<br><br>&quot;Combine two paths, if the second path isAbsolute, then it returns the second.&quot;<br>

<br><div><a href="http://hackage.haskell.org/packages/archive/filepath/latest/doc/html/System-FilePath-Posix.html#v:combine">http://hackage.haskell.org/packages/archive/filepath/latest/doc/html/System-FilePath-Posix.html#v:combine</a><br>

</div><div><br></div><div>HTH,</div><div>Ozgur</div>