mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Add a version of sys::ExecuteAndWait that takes StringRefs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183934 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -80,6 +80,11 @@ namespace sys {
|
||||
///< program.
|
||||
bool *ExecutionFailed = 0);
|
||||
|
||||
int ExecuteAndWait(StringRef path, const char **args, const char **env = 0,
|
||||
const StringRef **redirects = 0,
|
||||
unsigned secondsToWait = 0, unsigned memoryLimit = 0,
|
||||
std::string *ErrMsg = 0, bool *ExecutionFailed = 0);
|
||||
|
||||
/// Similar to ExecuteAndWait, but return immediately.
|
||||
void ExecuteNoWait(const Path &path, const char **args, const char **env = 0,
|
||||
const sys::Path **redirects = 0, unsigned memoryLimit = 0,
|
||||
|
Reference in New Issue
Block a user