Functions | |
std::pair< int, std::string > | runProcess (const std::string &command, std::vector< std::string > args={}) |
std::pair< int, std::string > dcn::native::runProcess | ( | const std::string & | command, |
std::vector< std::string > | args = {} |
||
) |
Spawns a new process with the given command. The command must be a valid shell command.
command | The command to execute in the new process |
args | The arguments to pass to the command |