1234567891011121314151617181920212223242526272829303132 |
- #ifndef BOOST_PROCESS_POSIX_SHELL_PATH_HPP
- #define BOOST_PROCESS_POSIX_SHELL_PATH_HPP
- #include <boost/process/v1/detail/config.hpp>
- #include <boost/system/error_code.hpp>
- #include <boost/process/v1/filesystem.hpp>
- namespace boost { namespace process { BOOST_PROCESS_V1_INLINE namespace v1 { namespace detail { namespace posix {
- inline boost::process::v1::filesystem::path shell_path()
- {
- return "/bin/sh";
- }
- inline boost::process::v1::filesystem::path shell_path(std::error_code &ec)
- {
- ec.clear();
- return "/bin/sh";
- }
- }}}}}
- #endif
|