Function command_string_to_arguments

Function Documentation

std::vector<char*> command_string_to_arguments(const std::string &command)

Split command string on words separated by spaces for further usage with execvp(..)

Parameters:

command[in] - command line string with arguments split by spaces

Returns:

vector of char pointers