getting the path to the executing program

Hal Daume III hdaume at ISI.EDU
Thu Jan 8 09:06:44 EST 2004


is there a function, related to getProgName, which returns the (absolute) 
path to the current program?

basically, i want to be able to read a file which i know will be in the 
same directory as the current program, but not necessarily in the same 
directory that we're running it from.

-- 
 Hal Daume III                                   | hdaume at isi.edu
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume



More information about the Haskell mailing list