Subject: [Boost-bugs] [Boost C++ Libraries] #5889: Add way to get the path to the running executable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-10 21:40:26
#5889: Add way to get the path to the running executable
-------------------------------+--------------------------------------------
Reporter: ergosys@⦠| Owner: bemandawes
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.47.0 | Severity: Not Applicable
Keywords: |
-------------------------------+--------------------------------------------
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.
A discussion of the current system-specific ways to do this:
http://stackoverflow.com/q/1023306 and http://stackoverflow.com/q/933850
An example of a similar function exists in the Qt library:
QCoreApplication::applicationFilePath()
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5889> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC