|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Namespace for global system helper functions. More...
Functions | |
| std::string | exec (const char *cmd) |
| Executes a system command and returns the stdout of the program. More... | |
Constants | |
| constexpr auto | cmdBufferLength {128} |
| The length of the buffer for executing system commands. More... | |
Namespace for global system helper functions.
|
inline |
Executes a system command and returns the stdout of the program.
At the moment, this function is used exclusively by Helper::Portability::enumLocales().
| Main::Exception | if the execution of the command failed. |
Referenced by crawlservpp::Helper::Portability::enumLocales().
|
inline |
The length of the buffer for executing system commands.