aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/Program.inc
AgeCommit message (Expand)Author
2010-11-29Merge System into Support.Michael J. Spencer
2010-11-02Make FindProgramByName return paths with slashes unmodified on Windows.Mikhail Glushenkov
2010-10-29Check if ErrMsg is null. This fixes the "not" command.Dan Gohman
2010-10-29Make Program::Wait differentiate execution failure due to the fileDan Gohman
2010-10-29Make Program::Wait provide an error message string for errorsDan Gohman
2010-10-28Revert r117582, which reverted r77396. Searching PATH for a stringDan Gohman
2010-10-28Revert r77396.Mikhail Glushenkov
2010-10-28Trailing whitespace.Mikhail Glushenkov
2010-09-30Add an explicit initialization to work around what appears to be a valgrindDaniel Dunbar
2010-07-14Rather than using an ifdef on the target to zero out fields,Duncan Sands
2010-07-07add some triple for minix, patch by Kees van Reeuwijk from PR7582Chris Lattner
2010-04-19Fix -Wcast-qual warnings.Dan Gohman
2010-04-18avoid temporary std::string in non posix_spawn path.Chris Lattner
2010-04-18Eliminate temporary string.Benjamin Kramer
2010-04-18Properly inherit the environment on darwin where environ is not available for...Benjamin Kramer
2010-04-18This is horrible. Split the difference, and declare 'environ' on all non-DarwinNick Lewycky
2010-04-18Revert r101701, Darwin doesn't have 'environ'. Go figure.Nick Lewycky
2010-04-18Fix linux build. posix_spawn doesn't inherit the environment by default.Nick Lewycky
2010-04-18make Program::Execute use posix_spawn on systems that support it,Chris Lattner
2010-04-10improve haiku portability, patch by Paul Davey.Chris Lattner
2010-03-14don't forget to close a FD on an error condition, found byChris Lattner
2010-02-12improve support for minix, PR6280, patch byChris Lattner
2010-01-28Add llvm::Program::ChangeStderrToBinary().Douglas Gregor
2009-11-08Revert commit 81144, and add a comment. It caused bugpoint timeoutsDuncan Sands
2009-10-22Use 'waitpid' instead of 'wait'. Basing Program::Wait() on 'wait()' prevents...Ted Kremenek
2009-09-22Revert "Get rid of GetProcessId in Win32/Program.inc.", this breaksDaniel Dunbar
2009-09-15Get rid of GetProcessId in Win32/Program.inc.Mikhail Glushenkov
2009-09-09Check that the 'kill' call succeeded.Mikhail Glushenkov
2009-09-08This should unbreak the build on 64-bit Linux.Mikhail Glushenkov
2009-09-08Const-correctness.Mikhail Glushenkov
2009-09-08Get rid of the Pid_ member in the Program class.Mikhail Glushenkov
2009-09-08Add a Kill() function to the Program class.Mikhail Glushenkov
2009-09-07Using a signal handler that does nothing should beDuncan Sands
2009-09-06Remove some not-really-used variables, as warnedDuncan Sands
2009-08-23Prune #includes from llvm/Linker.h and llvm/System/Path.h,Chris Lattner
2009-08-05Update a comment to reflect the current code.Dan Gohman
2009-08-05Remove needless uses of std::flush in the parent process after aDan Gohman
2009-08-05Use _exit rather than exit in the child process after a failed exec.Dan Gohman
2009-08-04Follow Unix behavior and return 127 if the command is not found,Dan Gohman
2009-08-04When exec() fails, return 127 instead of errno; the parent process has no way toDaniel Dunbar
2009-08-03Fix a race condition in getting the process exit code on Win32.Daniel Dunbar
2009-07-28On "Unix", if Program::FindProgramByName is given a name containingDan Gohman
2009-07-28Fix a fixme; don't take binaries from the working directory.Benjamin Kramer
2009-07-18Remove duplication in Program::Execute{And,No}Wait.Mikhail Glushenkov
2009-07-17Trailing whitespace.Mikhail Glushenkov
2009-07-08Add an ExecuteNoWait interface to support asynchronous process spawning.David Greene
2009-04-20Make Unix.h:MakeErrMsg separate the prefix and errno string, so we get:Daniel Dunbar
2008-06-12Fix redirection of stderr in sys::Program::ExecuteAndWait. There was logicMatthijs Kooijman
2008-06-12Make I/O redirection handling in sys::Program a bit more consistent. NoMatthijs Kooijman
2008-05-29Unbreak build.Bill Wendling