Proposal: Add getFullProgName

Johan Tibell johan.tibell at
Tue Jun 26 07:57:14 CEST 2012

On Mon, Jun 25, 2012 at 6:04 PM, Johan Tibell <johan.tibell at> wrote:
> The discussion period is now over.
> I believe there are no remaining objections to add getExecutablePath
> which returns the FilePath of the current remaining executable. For
> those that also want a function that tries to guess whether a script
> is running, I suggest you open a separate proposal.

I've created a first implementation [1] for Mac OS X, Linux, and
Windows, with a fallback implementation that uses argv[0]. I will need
someone to volunteer to test/finish the Windows one, as I don't have
access to a Windows machine (perhaps GHC HQ can do this.)


-- Johan

More information about the Libraries mailing list