Added the ExecWait() function.
authorJohn Criswell <criswell@uiuc.edu>
Wed, 17 Sep 2003 15:14:25 +0000 (15:14 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 17 Sep 2003 15:14:25 +0000 (15:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8578 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/SystemUtils.h
include/llvm/Support/SystemUtils.h

index 4573e27ce02dbdc7247a6bea26bd89ac4a65f755..7a4c6277dc538b2e47bc37b1958a04508aa8da6a 100644 (file)
@@ -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
index 4573e27ce02dbdc7247a6bea26bd89ac4a65f755..7a4c6277dc538b2e47bc37b1958a04508aa8da6a 100644 (file)
@@ -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