<div dir="ltr">Hi all,<div><br></div><div>I had one question about how to set the SHELL environment variable correctly. I found a thread that says to use /proc/self/exe to get the path of the currently running executable since it&#39;s a link to the currently running executable. Is that a portable way to get the path?</div><div><br></div><div>The only other way I can think of is to resolve argv[0], but that isn&#39;t always the correct executable name (as we saw in class).</div><div><br></div><div>Thanks,</div><div>Keyur</div></div>