On Mon, 02 Feb 2009 22:35:44 +0100, Günther Schmidt <red...@fedoms.com>  
wrote:

> Hi,
>
> none of the above functions seem to be working, how can I then find where
> the exe is? Copyfile is not very reliable when I pass it relative paths.
>
> Günther
>

   currentDirectory  <- System.Directory.getCurrentDirectory

Convert the relative path to an absolute path with:
   canonicalizedPath <- System.Directory.canonicalizePath ".."

There is also System.Directory.findExecutable to find an executable by  
name, in the search path, but this is not a reliable way to find your  
application.

-- 
Met vriendelijke groet,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to