Searched refs:vecCommandArg (Results 1 – 2 of 2) sorted by relevance
62 bool IfConfig::ExecCommand(const std::vector<std::string> &vecCommandArg) in ExecCommand() argument64 int argvSize = static_cast<int>(vecCommandArg.size()); in ExecCommand()70 [vecCommandArg, argvSize]() { in ExecCommand()85 execveStr[i] = vecCommandArg[i].c_str(); in ExecCommand()93 if (execve(vecCommandArg[0].c_str(), (char *const*)execveStr, env) < 0) { in ExecCommand()94 LOGE("execve %{public}s failed.", vecCommandArg[0].c_str()); in ExecCommand()
48 bool ExecCommand(const std::vector<std::string> &vecCommandArg);