#include <unistd.h>
const char * argv [] = {
"uname",
"-a",
NULL
};

int ret = execve("/usr/bin/uname", const_cast<char**>(argv), NULL);
Last modification:May 3rd, 2020 at 04:59 pm
如果觉得我的文章对你有用,请随意赞赏