On Wed, Mar 05, 2003 at 06:46:55PM -0500, Ferguson, Neale wrote:

> How do I, within a program, get the full pathname of the program I'm
> executing? argv[0] will have the command name but not necessarily the full
> pathname.

There may not even be a pathname which refers to the program being executed.

--
 - mdz

Reply via email to