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()

template<class FileDescriptor>
bind_fd_< FileDescriptor > bind_fd ( int id,
const FileDescriptor & fd )

Definition at line 41 of file bind_fd.hpp.

◆ close_fds()

template<class Range>
close_fds_< Range > close_fds ( const Range & fds)

Definition at line 41 of file close_fds.hpp.

◆ close_fds_if()

template<class Predicate>
close_fds_if_< Predicate > close_fds_if ( const Predicate & pred)

Definition at line 78 of file close_fds_if.hpp.

◆ notify_io_service()

template<class IOService>
notify_io_service_< IOService > notify_io_service ( IOService & io_service)

Definition at line 53 of file notify_io_service.hpp.

◆ on_exec_error()

template<class Handler>
on_exec_error_< Handler > on_exec_error ( Handler handler)

Definition at line 39 of file on_exec_error.hpp.

◆ on_exec_setup()

template<class Handler>
on_exec_setup_< Handler > on_exec_setup ( Handler handler)

Definition at line 39 of file on_exec_setup.hpp.

◆ on_fork_error()

template<class Handler>
on_fork_error_< Handler > on_fork_error ( Handler handler)

Definition at line 39 of file on_fork_error.hpp.

◆ on_fork_setup()

template<class Handler>
on_fork_setup_< Handler > on_fork_setup ( Handler handler)

Definition at line 39 of file on_fork_setup.hpp.

◆ on_fork_success()

template<class Handler>
on_fork_success_< Handler > on_fork_success ( Handler handler)

Definition at line 39 of file on_fork_success.hpp.

◆ run_exe() [1/3]

run_exe_ run_exe ( const char * s)
inline

Definition at line 47 of file run_exe.hpp.

◆ run_exe() [2/3]

run_exe_ run_exe ( const std::filesystem::path & p)
inline

Definition at line 59 of file run_exe.hpp.

◆ run_exe() [3/3]

run_exe_ run_exe ( const std::string & s)
inline

Definition at line 53 of file run_exe.hpp.

◆ set_args()

template<class Range>
set_args_< Range > set_args ( const Range & range)

Definition at line 56 of file set_args.hpp.

◆ set_env()

template<class Range>
set_env_< Range > set_env ( const Range & envs)

Definition at line 51 of file set_env.hpp.