Fix for Mac Launch Program not returning true on success
This commit is contained in:
parent
2ef58c9e0e
commit
af1363f34e
1 changed files with 3 additions and 1 deletions
|
@ -781,6 +781,8 @@ bool launchProgram(const std::string &programName, const std::string &arguments,
|
|||
|
||||
if (res && log)
|
||||
nlwarning ("LAUNCH: Failed launched '%s' with arg '%s' return code %d", programName.c_str(), arguments.c_str(), res);
|
||||
if (!res)
|
||||
return true;
|
||||
#else
|
||||
|
||||
static bool firstLaunchProgram = true;
|
||||
|
|
Loading…
Reference in a new issue