mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-01 13:17:01 +00:00
Make Program::Wait differentiate execution failure due to the file
being not found from the file being not executable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -337,7 +337,8 @@ Program::Execute(const Path& path,
|
||||
}
|
||||
|
||||
int
|
||||
Program::Wait(unsigned secondsToWait,
|
||||
Program::Wait(const Path &path,
|
||||
unsigned secondsToWait,
|
||||
std::string* ErrMsg) {
|
||||
if (Data_ == 0) {
|
||||
MakeErrMsg(ErrMsg, "Process not started!");
|
||||
|
Reference in New Issue
Block a user