Function switchml::Execute

Function Documentation

inline std::string switchml::Execute(const char *cmd)

A function to execute any command on the system and return the standard output as a string.

Parameters

cmd[in] the command to execute.

Returns

std::string a string that contains the standard output of the command.