From: Mikko Rasa Date: Mon, 10 Nov 2014 17:29:11 +0000 (+0200) Subject: Store absolute path to argv[0] in Application X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=commitdiff_plain;h=60260b5701bab73f8de093147de03947c7f264c8;hp=60260b5701bab73f8de093147de03947c7f264c8 Store absolute path to argv[0] in Application Working directory or $PATH may be changed by the program, so it may not be possible to recover the executable later. It's still not completely reliable since the parent process can pass any value for argv[0] through execve(). ---