Home | History | Annotate | Download | only in Unix

Lines Matching full:program

1 //===- llvm/Support/Unix/Program.cpp -----------------------------*- C++ -*-===//
10 // This file implements the Unix specific portion of the Program class.
50 // This function just uses the PATH environment variable to find the program.
55 if (progName.length() == 0) // no program
178 static bool Execute(void **Data, StringRef Program, const char **args,
233 int Err = posix_spawn(&PID, Program.str().c_str(), FileActions, /*attrp*/0,
256 // Child process: Execute the program.
284 std::string PathStr = Program;
312 static int Wait(void *&Data, StringRef Program, unsigned secondsToWait,
371 if (result == 127 && !llvm::sys::fs::exists(Program, Exists) && Exists)
381 *ErrMsg = "Program could not be executed";
399 *ErrMsg = "Program::Wait is not implemented on this platform yet!";