paludis Version 3.0.2
The one true package mangler
paludis::ProcessCommand Class Reference

Public Member Functions

 ProcessCommand (const std::initializer_list< std::string > &)
 ProcessCommand (const std::string &)
 ProcessCommand (ProcessCommand &&)
 ProcessCommand (const ProcessCommand &)=delete
ProcessCommand & operator= (const ProcessCommand &)=delete
void prepend_args (const std::initializer_list< std::string > &)
void append_args (const std::initializer_list< std::string > &)
void echo_command_to (std::ostream &)
ProcessCommand & setenv (const std::string &, const std::string &)
ProcessCommand & clearenv ()
ProcessCommand & chdir (const FSPath &)
ProcessCommand & setuid_setgid (uid_t, gid_t)
void exec_prepare ()
void exec (int err_fd=-1) PALUDIS_ATTRIBUTE((noreturn))
const std::vector< std::string > & get_args ()
const std::string & get_args_string ()

Constructor & Destructor Documentation

◆ ProcessCommand() [1/2]

paludis::ProcessCommand::ProcessCommand ( const std::initializer_list< std::string > & )
explicit

List of arguments, one string per argv value.

Referenced by ProcessCommand().

◆ ProcessCommand() [2/2]

paludis::ProcessCommand::ProcessCommand ( const std::string & )
explicit

List of arguments, passed to sh -c.

References PALUDIS_ATTRIBUTE, and ProcessCommand().


The documentation for this class was generated from the following file: