whereami
whereami copied to clipboard
added aix support
This patch adds support for AIX (tested with AIX 6.1, and 7).
getExecutablePath assumes that the current working directory was not changed since the program start. To my knowledge there is no way to get the full path to the executable (except to get the inode of the executable from /proc/