Added the ExecWait() function. It executes a program with the specified
authorJohn Criswell <criswell@uiuc.edu>
Wed, 17 Sep 2003 15:13:59 +0000 (15:13 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 17 Sep 2003 15:13:59 +0000 (15:13 +0000)
commit5afb5f63773bc329eb4549b5f9e83a4dac029cb2
tree5b21464b069ce95da532db90af858241c37745f8
parent35f474acd6931d058e90c756e066bb5f20156292
Added the ExecWait() function.  It executes a program with the specified
arguments and environment.
Perhaps it should be merged with the RunProgramWithTimeout function, but I'd
want to allow it to inherit the parent process's stdin and stdout.
I'll save that for a rainy day...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/SystemUtils.cpp
support/lib/Support/SystemUtils.cpp