Commit 39b02926 by 刘帅

使用QDir::clearnPath()

parent 165cd6fb
...@@ -87,6 +87,7 @@ void FmControl::onKeepProcess() ...@@ -87,6 +87,7 @@ void FmControl::onKeepProcess()
if(!path.isEmpty()) if(!path.isEmpty())
{ {
QString exePath = QString("%1/%2").arg(m_appDir, path); QString exePath = QString("%1/%2").arg(m_appDir, path);
exePath = QDir::cleanPath(exePath);
QLOG_INFO() << QString("launch [%1]").arg(exePath); QLOG_INFO() << QString("launch [%1]").arg(exePath);
if(!_LaunchProcess(exePath, error)) if(!_LaunchProcess(exePath, error))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment