exe.hpp 655 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright (c) 2016 Klemens D. Morgenstern
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_PROCESS_DETAIL_POSIX_EXE_HPP_
  6. #define BOOST_PROCESS_DETAIL_POSIX_EXE_HPP_
  7. #include <boost/process/v1/detail/config.hpp>
  8. namespace boost
  9. {
  10. namespace process
  11. {
  12. BOOST_PROCESS_V1_INLINE namespace v1
  13. {
  14. namespace detail
  15. {
  16. namespace posix
  17. {
  18. template<class StringType, class Executor>
  19. inline void apply_exe(const StringType & exe, Executor & e)
  20. {
  21. e.exe = exe.c_str();
  22. }
  23. }
  24. }
  25. }
  26. }
  27. }
  28. #endif /* INCLUDE_BOOST_PROCESS_WINDOWS_ARGS_HPP_ */