getting the path to the executing program

Ferenc Wagner wferi at afavant.elte.hu
Thu Jan 8 20:27:45 EST 2004


Hal Daume III <hdaume at ISI.EDU> writes:

> True.  Replace "the" with "a" and "?" with ", if it exists?".
>
> On Thu, 8 Jan 2004, Lennart Augustsson wrote:
>
>> Hal Daume III wrote:
>>
>>> is there a function, related to getProgName, which
>>> returns the (absolute) path to the current program?
>>
>> Well, the absolute path name is not necessarily unique,
>> nor is it guaranteed to exist. :)

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&threadm=9201%40june.cs.washington.edu&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3Dutf-8%26selm%3D9201%2540june.cs.washington.edu

This is all you can get, I am afraid.

Feri.


More information about the Haskell mailing list