getProgName behaviour...

Peter Strand
Sat, 13 Oct 2001 16:38:44 +0200

Why does getProgName in the System module in ghc return only the program name
and not the invoked path?

The library report states 
"Computation getProgName returns the name of the program _as it was invoked_"

and both nhc and hbc behaves as one(?) would expect...

This seems like a deliberate choise so I am a bit curious of the reasoning
behind it...