|
|
@@ -608,7 +608,7 @@ static bool ShellExecute(const std::string& cmd, std::string& succResult, std::s
|
|
|
|
|
|
if (exitCode != 0)
|
|
|
{
|
|
|
- DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM).setResultCode("RTA1F08")("The program exited with code:%u", exitCode);
|
|
|
+ errResult = errResult + "The program exited with code:" + strerror(exitCode);
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -634,7 +634,6 @@ static bool ShellExecute(const std::string& cmd, std::string& succResult, std::s
|
|
|
} else {
|
|
|
sprintf(result, "popen %s error: %d", ps, errno);
|
|
|
errResult = result;
|
|
|
- DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM).setResultCode("RTA1F08")("The program failed with errno:%d", errno);
|
|
|
return false;
|
|
|
}
|
|
|
#endif //_MSC_VER
|