diff options
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 4573e27ce0..7a4c6277dc 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 |