Home | Libraries | People | FAQ | More |
boost::process::find_executable_in_path
// In header: <boost/process/operations.hpp> std::string find_executable_in_path(const std::string & file, std::string path = "");
Locates the executable program file in all the directory components specified in path. If path is empty, the value of the PATH environment variable is used.
The path variable is interpreted following the same conventions used to parse the PATH environment variable in the underlying platform.
Throws: |
boost::filesystem::filesystem_error |