Lines Matching full:program
1 //===-- Program.cpp - Implement OS Program Concept --------------*- C++ -*-===//
10 // This header file implements the operating system Program concept.
14 #include "llvm/Support/Program.h"
25 static bool Execute(void **Data, StringRef Program, const char **args,
29 static int Wait(void *&Data, StringRef Program, unsigned secondsToWait,
32 int sys::ExecuteAndWait(StringRef Program, const char **args, const char **envp,
37 if (Execute(&Data, Program, args, envp, redirects, memoryLimit, ErrMsg)) {
39 return Wait(Data, Program, secondsToWait, ErrMsg);
45 void sys::ExecuteNoWait(StringRef Program, const char **args, const char **envp,
48 Execute(/*Data*/ 0, Program, args, envp, redirects, memoryLimit, ErrMsg);
53 #include "Unix/Program.inc"
56 #include "Windows/Program.inc"