Convenience header which includes all public Boost.Process header files.
Defines a child process class.
namespace boost { namespace process { struct child; } }
Defines various macros.
BOOST_POSIX_API BOOST_WINDOWS_API BOOST_PROCESS_THROW(EX)
Defines a function to create a pipe.
namespace boost { namespace process { pipe create_pipe(); pipe create_pipe(boost::system::error_code &); } }
Defines a function to execute a program.
namespace boost { namespace process { template<typename Initializer, class... Initializers> child execute(const Initializer &, const Initializers...&); } }
Defines an executor which can create child processes.
namespace boost { namespace process { struct executor; } }
Defines initializers.
namespace boost { namespace process { namespace initializers { class bind_stderr; class bind_stdin; class bind_stdout; class bind_fd; class close_fd; class close_fds; class close_fds_if; class close_stderr; class close_stdin; class close_stdout; class hide_console; class inherit_env; class notify_io_service; class on_exec_error; class on_exec_setup; class on_fork_error; class on_fork_setup; class on_fork_success; class on_CreateProcess_error; class on_CreateProcess_setup; class on_CreateProcess_success; class run_exe; class set_args; class set_cmd_line; class set_env; class set_on_error; class show_window; class start_in_dir; class throw_on_error; } } }
Helpers to mitigate platform differences.
BOOST_PROCESS_EXITSTATUS
namespace boost { namespace process { typedef boost_asio_type pipe_end; const char * zero_device(); const char * null_device(); } }
Defines a pipe.
namespace boost { namespace process { struct pipe; pipe make_pipe(pipe_end_type, pipe_end_type); } }
Defines a function to search for an executable in path.
namespace boost { namespace process { string_type search_path(const string_type &, string_type = ""); } }
Defines a function to return the absolute path to a shell executable.
namespace boost { namespace process { boost::filesystem::path shell_path(); boost::filesystem::path shell_path(boost::system::error_code &); } }
Defines a function to terminate a process.
namespace boost { namespace process { template<typename Process> void terminate(const Process &); template<typename Process> void terminate(const Process &, boost::system::error_code &); } }
Defines a function to wait for a process to exit.
namespace boost { namespace process { template<typename Process> int_type wait_for_exit(const Process &); template<typename Process> int_type wait_for_exit(const Process &, boost::system::error_code &); } }