From f13ec35fe1ba7172c41f8775967fbd43cd307d10 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Wed, 17 Sep 2003 15:14:25 +0000 Subject: [PATCH] Added the ExecWait() function. llvm-svn: 8578 --- llvm/include/Support/SystemUtils.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/llvm/include/Support/SystemUtils.h b/llvm/include/Support/SystemUtils.h index 4573e27ce02d..7a4c6277dc53 100644 --- a/llvm/include/Support/SystemUtils.h +++ b/llvm/include/Support/SystemUtils.h @@ -34,4 +34,12 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args, const std::string &StdOutFile = "", const std::string &StdErrFile = ""); +/// +/// Function: ExecWait() +/// +/// Description: +/// Execute a program with the given arguments and environment and +/// wait for it to terminate. +/// +int ExecWait (char ** argv, char ** envp); #endif