argv minus one<p>I notice that it is not typical for ELF executables to include `.`, the same folder as the executable itself is in, in their RUNPATH. (I don't know if that's even valid.)</p><p>This is unlike <a href="https://mastodon.sdf.org/tags/Win32" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Win32</span></a>, which will search for a DLL beginning in the same folder as the EXE that's trying to load it.</p><p>I wonder why the difference? The Win32 behavior seems reasonable to me.</p><p><a href="https://mastodon.sdf.org/tags/Unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Unix</span></a> <a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>