Boost C++ Libraries: Ticket #5889: Add way to get the path to the running executable https://svn.boost.org/trac10/ticket/5889 <p> The filesystem component is missing a function to return the path to the currently running executable. This is useful for finding associated program files without resorting to e.g. environmental variables. </p> <p> A discussion of the current system-specific ways to do this: </p> <blockquote> <p> <a class="ext-link" href="http://stackoverflow.com/q/1023306"><span class="icon">​</span>http://stackoverflow.com/q/1023306</a> and <a class="ext-link" href="http://stackoverflow.com/q/933850"><span class="icon">​</span>http://stackoverflow.com/q/933850</a> </p> </blockquote> <p> An example of a similar function exists in the Qt library: QCoreApplication::applicationFilePath() </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5889 Trac 1.4.3 anonymous Tue, 11 Aug 2015 05:40:26 GMT <link>https://svn.boost.org/trac10/ticket/5889#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5889#comment:1</guid> <description> <p> 4 yrs+ and still no plan about this...... </p> <p> Is there some reason to not make this function? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 30 Nov 2015 11:48:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5889#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5889#comment:2</guid> <description> <p> This functionality useful for me too. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 18 Feb 2016 20:54:51 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5889#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5889#comment:3</guid> <description> <p> This functionality useful for me too. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>blole</dc:creator> <pubDate>Wed, 20 Apr 2016 15:13:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5889#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5889#comment:4</guid> <description> <p> It would also be nice to be able to get the path of the current dynamically loaded library when executing code inside it. </p> </description> <category>Ticket</category> </item> </channel> </rss>