|
@@ -247,7 +247,7 @@ bool ResourceWatcherFSM::GetMonitorInfo(CSimpleStringA& outInfo)
|
|
|
std::string sucContent, failedContent;
|
|
|
CSimpleStringA strCmd("xrandr | grep \" connected\" | sed -e \"s/\([A-Z0-9]\+\) connected.*/\1/\"");
|
|
|
bool ret = SP::Module::Util::ShellExecute(strCmd.GetData(), sucContent, failedContent);
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("{%s}:{%s}{%s}", strCmd.GetData(), sucContent.c_str(), failedContent.c_str());
|
|
|
+ //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("{%s}:{%s}{%s}", strCmd.GetData(), sucContent.c_str(), failedContent.c_str());
|
|
|
std::string msg = SP::Utility::ToTrim(sucContent);
|
|
|
SP::Utility::replaceInPlace(msg, "\n", "|");
|
|
|
outInfo = msg.c_str();
|