13 #ifndef CA_MGM_EXTERNALPROGRAM_H 14 #define CA_MGM_EXTERNALPROGRAM_H 90 bool use_pty =
false,
int stderr_fd = -1,
bool default_locale =
false,
104 bool use_pty =
false,
int stderr_fd = -1,
bool default_locale =
false,
107 ExternalProgram (
const Arguments &argv,
const Environment & environment,
109 bool use_pty =
false,
int stderr_fd = -1,
bool default_locale =
false,
114 bool use_pty =
false,
int stderr_fd = -1,
bool default_locale =
false,
117 ExternalProgram (
const char *
const *argv,
const Environment & environment,
119 bool use_pty =
false,
int stderr_fd = -1,
bool default_locale =
false,
126 ExternalProgram (
const char *binpath,
const char *
const *argv_1,
const Environment & environment,
188 void start_program (
const char *
const *argv,
const Environment & environment,
190 int stderr_fd = -1,
bool default_locale =
false,
191 const char* root = NULL);
197 #endif // CA_MGM_EXTERNALPROGRAM_H const std::string & execError() const
Definition: ExternalProgram.hpp:162
Definition: ExternalProgram.hpp:71
std::vector< std::string > Arguments
Definition: ExternalProgram.hpp:61
Definition: ExternalProgram.hpp:70
PathName manipulation class.
Definition: PathName.hpp:65
bool use_pty
Definition: ExternalProgram.hpp:179
Stderr_Disposition
Definition: ExternalProgram.hpp:67
pid_t getpid()
Definition: ExternalProgram.hpp:147
LiMaL path name manipulation utilities.
std::string _execError
Definition: ExternalProgram.hpp:186
const std::string & command() const
Definition: ExternalProgram.hpp:150
Definition: ExternalProgram.hpp:68
int _exitStatus
Definition: ExternalProgram.hpp:182
std::string _command
Definition: ExternalProgram.hpp:184
pid_t pid
Definition: ExternalProgram.hpp:181
Definition: ExternalProgram.hpp:69
Execute a program and give access to its io An object of this class encapsulates the execution of an ...
Definition: ExternalProgram.hpp:56
void start_program(const char *const *argv, const Environment &environment, Stderr_Disposition stderr_disp=Normal_Stderr, int stderr_fd=-1, bool default_locale=false, const char *root=NULL)
Bidirectional stream to external data.
Definition: ExternalDataSource.hpp:27
std::map< std::string, std::string > Environment
Definition: ExternalProgram.hpp:78
static void renumber_fd(int origfd, int newfd)
Definition: ByteBuffer.hpp:37