mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
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
|
@ -780,7 +780,9 @@ bool launchProgram(const std::string &programName, const std::string &arguments,
|
|||
int res = system(command.c_str());
|
||||
|
||||
if (res && log)
|
||||
nlwarning ("LAUNCH: Failed launched '%s' with arg '%s' return code %d", programName.c_str(), arguments.c_str(), res);
|
||||
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