diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-17 15:14:25 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-17 15:14:25 +0000 |
commit | e9ba8b36740f46ba1a7a68706cafda1df1d2ca74 (patch) | |
tree | 4c960b2d029de2a8453a674f4d30867578516970 /include/Support/SystemUtils.h | |
parent | 5afb5f63773bc329eb4549b5f9e83a4dac029cb2 (diff) | |
download | external_llvm-e9ba8b36740f46ba1a7a68706cafda1df1d2ca74.zip external_llvm-e9ba8b36740f46ba1a7a68706cafda1df1d2ca74.tar.gz external_llvm-e9ba8b36740f46ba1a7a68706cafda1df1d2ca74.tar.bz2 |
Added the ExecWait() function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support/SystemUtils.h')
-rw-r--r-- | include/Support/SystemUtils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Support/SystemUtils.h b/include/Support/SystemUtils.h index 4573e27..7a4c627 100644 --- a/include/Support/SystemUtils.h +++ b/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 |