|
networkservice
|
A data structure containing all input parameters expected by execProgram() method. More...
#include <IExecutor.h>
Public Attributes | |
| const char *const | pathname |
| char *const *const | argv |
| char *const *const | envp |
A data structure containing all input parameters expected by execProgram() method.
One reason that explains why a structure is preferred over a long list of input parameters (>=4) is that this way it is easier to add new parameters without impacting the readability.
| char* const* const utils::command::IExecutor::ProgramParams::argv |
An array of argument strings passed to the new program. By convention, the first of these strings should contain the filename associated with the file being executed
| char* const* const utils::command::IExecutor::ProgramParams::envp |
An array of strings of the form key=value, which are passed as environment to the new program
| const char* const utils::command::IExecutor::ProgramParams::pathname |
Either a binary executable, or a script starting with a line of the form: "#! interpreter [optional-arg]"
1.8.13