Lines Matching full:errmsg
80 static HANDLE RedirectIO(const StringRef *path, int fd, std::string* ErrMsg) {
104 MakeErrMsg(ErrMsg, std::string(fname) + ": Can't open file for " +
180 std::string* ErrMsg) {
182 if (ErrMsg)
183 *ErrMsg = "program not executable";
267 si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg);
269 MakeErrMsg(ErrMsg, "can't redirect stdin");
272 si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg);
275 MakeErrMsg(ErrMsg, "can't redirect stdout");
286 si.hStdError = RedirectIO(redirects[2], 2, ErrMsg);
290 MakeErrMsg(ErrMsg, "can't redirect stderr");
315 MakeErrMsg(ErrMsg, std::string("Couldn't execute program '") +
347 MakeErrMsg(ErrMsg, std::string("Unable to set memory limit"));
362 std::string *ErrMsg) {
371 MakeErrMsg(ErrMsg, "Failed to terminate timed-out program.");
385 MakeErrMsg(ErrMsg, "Failed getting status for program.");
404 std::string *ErrMsg) {
406 int Ret = WaitAux(wpi, secondsToWait, ErrMsg);