boost::process::posix::initializers Namespace Reference

Classes

class  bind_fd_
 
class  bind_stderr
 
class  bind_stdin
 
class  bind_stdout
 
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
 
struct  initializer_base
 
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  run_exe_
 
class  set_args_
 
class  set_cmd_line
 
class  set_env_
 
class  set_on_error
 
class  start_in_dir
 
class  throw_on_error
 

Functions

template<class FileDescriptor >
bind_fd_< FileDescriptor > bind_fd (int id, const FileDescriptor &fd)
 
template<class Range >
close_fds_< Range > close_fds (const Range &fds)
 
template<class Predicate >
close_fds_if_< Predicate > close_fds_if (const Predicate &pred)
 
template<class IOService >
notify_io_service_< IOService > notify_io_service (IOService &io_service)
 
template<class Handler >
on_exec_error_< Handler > on_exec_error (Handler handler)
 
template<class Handler >
on_exec_setup_< Handler > on_exec_setup (Handler handler)
 
template<class Handler >
on_fork_error_< Handler > on_fork_error (Handler handler)
 
template<class Handler >
on_fork_setup_< Handler > on_fork_setup (Handler handler)
 
template<class Handler >
on_fork_success_< Handler > on_fork_success (Handler handler)
 
run_exe_ run_exe (const char *s)
 
run_exe_ run_exe (const std::filesystem::path &p)
 
run_exe_ run_exe (const std::string &s)
 
template<class Range >
set_args_< Range > set_args (const Range &range)
 
template<class Range >
set_env_< Range > set_env (const Range &envs)
 

Function Documentation

◆ bind_fd()

bind_fd_<FileDescriptor> boost::process::posix::initializers::bind_fd ( int  id,
const FileDescriptor &  fd 
)

Definition at line 36 of file bind_fd.hpp.

◆ close_fds()

close_fds_<Range> boost::process::posix::initializers::close_fds ( const Range &  fds)

Definition at line 36 of file close_fds.hpp.

◆ close_fds_if()

close_fds_if_<Predicate> boost::process::posix::initializers::close_fds_if ( const Predicate &  pred)

Definition at line 76 of file close_fds_if.hpp.

◆ notify_io_service()

notify_io_service_<IOService> boost::process::posix::initializers::notify_io_service ( IOService &  io_service)

Definition at line 48 of file notify_io_service.hpp.

◆ on_exec_error()

on_exec_error_<Handler> boost::process::posix::initializers::on_exec_error ( Handler  handler)

Definition at line 35 of file on_exec_error.hpp.

◆ on_exec_setup()

on_exec_setup_<Handler> boost::process::posix::initializers::on_exec_setup ( Handler  handler)

Definition at line 35 of file on_exec_setup.hpp.

◆ on_fork_error()

on_fork_error_<Handler> boost::process::posix::initializers::on_fork_error ( Handler  handler)

Definition at line 35 of file on_fork_error.hpp.

◆ on_fork_setup()

on_fork_setup_<Handler> boost::process::posix::initializers::on_fork_setup ( Handler  handler)

Definition at line 35 of file on_fork_setup.hpp.

◆ on_fork_success()

on_fork_success_<Handler> boost::process::posix::initializers::on_fork_success ( Handler  handler)

Definition at line 35 of file on_fork_success.hpp.

◆ run_exe() [1/3]

run_exe_ boost::process::posix::initializers::run_exe ( const char *  s)
inline

Definition at line 44 of file run_exe.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ run_exe() [2/3]

run_exe_ boost::process::posix::initializers::run_exe ( const std::filesystem::path &  p)
inline

Definition at line 54 of file run_exe.hpp.

◆ run_exe() [3/3]

run_exe_ boost::process::posix::initializers::run_exe ( const std::string &  s)
inline

Definition at line 49 of file run_exe.hpp.

+ Here is the call graph for this function:

◆ set_args()

set_args_<Range> boost::process::posix::initializers::set_args ( const Range &  range)

Definition at line 52 of file set_args.hpp.

◆ set_env()

set_env_<Range> boost::process::posix::initializers::set_env ( const Range &  envs)

Definition at line 47 of file set_env.hpp.