mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
Ref T192, starting launcher inherites CMD arguments
This commit is contained in:
@@ -297,7 +297,9 @@ namespace BlackCore
|
||||
{
|
||||
static const QString launcher = CApplication::getExecutableForApplication(CApplicationInfo::Application::Laucher);
|
||||
if (launcher.isEmpty() || CApplication::isApplicationRunning(CApplicationInfo::Laucher)) { return false; }
|
||||
return QProcess::startDetached(launcher);
|
||||
|
||||
const QStringList args = this->inheritedArguments(true);
|
||||
return QProcess::startDetached(launcher, args);
|
||||
}
|
||||
|
||||
bool CApplication::isUnitTest() const
|
||||
|
||||
Reference in New Issue
Block a user