On Thu, Dec 15, 2011 at 09:48, Peter Wortmann <sc...@leeds.ac.uk> wrote:

> 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.

-- 
brandon s allbery                                      allber...@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to