mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 02:25:01 +00:00
Added the ExecWait() function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,4 +34,12 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
|
|||||||
const std::string &StdOutFile = "",
|
const std::string &StdOutFile = "",
|
||||||
const std::string &StdErrFile = "");
|
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
|
#endif
|
||||||
|
@@ -34,4 +34,12 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
|
|||||||
const std::string &StdOutFile = "",
|
const std::string &StdOutFile = "",
|
||||||
const std::string &StdErrFile = "");
|
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
|
#endif
|
||||||
|
Reference in New Issue
Block a user