Lines Matching defs:program
121 /// \param program The binary to execute.
122 /// \param args The arguments to pass to the binary, without the program name.
124 process::exec(const fs::path& program, const args_vector& args) throw()
127 exec_unsafe(program, args);
148 /// \param program The binary to execute.
149 /// \param args The arguments to pass to the binary, without the program name.
153 process::exec_unsafe(const fs::path& program, const args_vector& args)
160 argv[0] = program.c_str();
165 const int ret = ::execv(program.c_str(),
169 std::cerr << "Failed to execute " << program << ": "
172 std::cerr << "Failed to execute " << program << ": "
176 std::cerr << "Failed to execute " << program << "; got unexpected "
184 throw system_error("Failed to execute " + program.str(), original_errno);