Lines Matching refs:arg_vector
43 pid_t ExecWithoutWait(std::vector<std::string>& arg_vector) { in ExecWithoutWait() argument
45 const char* program = arg_vector[0].c_str(); in ExecWithoutWait()
47 for (const auto& arg : arg_vector) { in ExecWithoutWait()
68 PLOG(ERROR) << "Failed to execve(" << ToCommandLine(arg_vector) << ")"; in ExecWithoutWait()
78 int ExecAndReturnCode(std::vector<std::string>& arg_vector, std::string* error_msg) { in ExecAndReturnCode() argument
79 pid_t pid = ExecWithoutWait(arg_vector); in ExecAndReturnCode()
82 ToCommandLine(arg_vector).c_str(), strerror(errno)); in ExecAndReturnCode()
92 ToCommandLine(arg_vector).c_str(), pid, got_pid, strerror(errno)); in ExecAndReturnCode()
101 int ExecAndReturnCode(std::vector<std::string>& arg_vector, in ExecAndReturnCode() argument
108 pid_t pid = ExecWithoutWait(arg_vector); in ExecAndReturnCode()
111 ToCommandLine(arg_vector).c_str(), strerror(errno)); in ExecAndReturnCode()
157 ToCommandLine(arg_vector).c_str(), pid, got_pid, strerror(errno)); in ExecAndReturnCode()
167 bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg) { in Exec() argument
168 int status = ExecAndReturnCode(arg_vector, error_msg); in Exec()
171 ToCommandLine(arg_vector).c_str()); in Exec()