Finding out the full path of the executable. http://code.haskell.org/~bkomuves/

Version on this page:0.0.3
LTS Haskell 9.10:
Stackage Nightly 2017-10-23:
Latest on Hackage:
PublicDomain licensed by Balazs Komuves
Maintained by bkomuves (plus) hackage (at) gmail (dot) com

Module documentation for 0.0.3

The documentation of "System.Environment.getProgName" says that "However, this is hard-to-impossible to implement on some non-Unix OSes, so instead, for maximum portability, we just return the leafname of the program as invoked." This library tries to provide the missing path. Note: Since base, there is also a function "System.Environment.getExecutablePath".

comments powered byDisqus