29 #ifndef __UTILS_COMMAND_EXECUTOR_H__ 30 #define __UTILS_COMMAND_EXECUTOR_H__
This class is a high level interface added to ease testability of component that use Executor...
Definition: IOsal.h:51
Definition: Executor.h:37
Executor(const osal::IOsal &osal, Flags flags=Flags::WAIT_COMMAND)
A data structure containing all input parameters expected by execProgram() method.
Definition: IExecutor.h:79
A helper class to execute shell commands securely.
Definition: Executor.h:56
Executor & operator=(const Executor &)=delete
A helper class to execute shell commands securely. This class is a high level interface added to ease...
Definition: IExecutor.h:51
Flags
Bitmasks to give control on how this class is handling requests.
Definition: IExecutor.h:60
void executeProgram(const ProgramParams ¶ms) const override
Execute the program pointed to by pathname.
std::unique_ptr< Internal > m_internal
Definition: Executor.h:103