path portably from C [1]. Using argv[0] just gave me the path of the GHC
wrapper script, for example - as it uses exec without "-a".
Note that "exec -a" is a bash-ism and not portable to POSIX shells (ash on *BSD, dash on Debian/Ubuntu, etc.) or traditional /bin/sh as still shipped with some commercial Unixes.
--