File indexing completed on 2025-01-18 09:50:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_IN_HPP
0011 #define BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_IN_HPP
0012
0013 #include <boost/winapi/process.hpp>
0014 #include <boost/winapi/handles.hpp>
0015 #include <boost/process/detail/handler_base.hpp>
0016
0017 namespace boost { namespace process { namespace detail { namespace windows {
0018
0019 struct close_in : public ::boost::process::detail::handler_base
0020 {
0021 template <class WindowsExecutor>
0022 void on_setup(WindowsExecutor &e) const
0023 {
0024 e.startup_info.hStdInput = boost::winapi::INVALID_HANDLE_VALUE_;
0025 e.startup_info.dwFlags |= boost::winapi::STARTF_USESTDHANDLES_;
0026 }
0027 };
0028
0029 }}}}
0030
0031 #endif