123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef BOOST_PROCESS_SEARCH_PATH_HPP
- #define BOOST_PROCESS_SEARCH_PATH_HPP
- #include <boost/process/detail/config.hpp>
- #include <boost/process/environment.hpp>
- #if defined(BOOST_POSIX_API)
- #include <boost/process/detail/posix/search_path.hpp>
- #elif defined(BOOST_WINDOWS_API)
- #include <boost/process/detail/windows/search_path.hpp>
- #endif
- namespace boost { namespace process {
- inline boost::filesystem::path search_path(const boost::filesystem::path &filename,
- const std::vector<boost::filesystem::path> path = ::boost::this_process::path())
- {
- return ::boost::process::detail::api::search_path(filename, path);
- }
- }}
- #endif
|