ΒΆllvm::sys::ProcessInfo Wait(
    const llvm::sys::ProcessInfo& PI,
    unsigned int SecondsToWait,
    bool WaitUntilTerminates,
    std::string* ErrMsg = nullptr)

Description

This function waits for the process specified by \p PI to finish.

Declared at: llvm/include/llvm/Support/Program.h:184

Parameters

const llvm::sys::ProcessInfo& PI
unsigned int SecondsToWait
bool WaitUntilTerminates
std::string* ErrMsg = nullptr

Returns

A