Re:Why bother with argv[0]?
by Maxatar on Tuesday September 03, 2024 @08:02PM
(#41440525)
>Show the actual file path, and always an absolute one
There are numerous reasons why this is not desirable, for example knowing whether an application was called from one symbolic link or a relative path dictates what that application's working directory is.
There are numerous reasons why this is not desirable, for example knowing whether an application was called from one symbolic link or a relative path dictates what that application's working directory is.