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