system-argv0: Get argv[0] as a FilePath.

[ library, mit, system ] [ Propose Tags ]

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.

Versions [faq] 0.1, 0.1.1
Dependencies base (>=4.0 && <5.0), bytestring, system-filepath (>=0.3 && <0.5), text [details]
License MIT
Author John Millikin <jmillikin@gmail.com>
Maintainer John Millikin <jmillikin@gmail.com>
Category System
Home page https://john-millikin.com/software/haskell-filesystem/
Bug tracker mailto:jmillikin@gmail.com
Source repo head: bzr branch https://john-millikin.com/branches/system-argv0/0.1/
this: bzr branch https://john-millikin.com/branches/system-argv0/0.1/ -r system-argv0_0.1.1
Uploaded by JohnMillikin at 2011-11-18T06:33:51Z
Distributions LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1
Downloads 6863 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees