exe.hpp 569 B

123456789101112131415161718192021222324252627282930313233343536
  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. namespace boost
  8. {
  9. namespace process
  10. {
  11. namespace detail
  12. {
  13. namespace posix
  14. {
  15. template<class StringType, class Executor>
  16. inline void apply_exe(const StringType & exe, Executor & e)
  17. {
  18. e.exe = exe.c_str();
  19. }
  20. }
  21. }
  22. }
  23. }
  24. #endif /* INCLUDE_BOOST_PROCESS_WINDOWS_ARGS_HPP_ */