system-argv0

Get argv[0] as a FilePath. https://john-millikin.com/software/haskell-filesystem/

Version on this page:0.1.1
LTS Haskell 8.15:0.1.1
Stackage Nightly 2017-05-28:0.1.1
Latest on Hackage:0.1.1
MIT licensed and maintained by John Millikin

Module documentation for 0.1.1

Get argv[0] as a FilePath. This is how the program was invoked, and might not correspond to any actual file.

Use this instead of System.Environment.getProgName if you want the full path, and not just the last component.

Used by 3 packages:
comments powered byDisqus