mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +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);
|
static const QString launcher = CApplication::getExecutableForApplication(CApplicationInfo::Application::Laucher);
|
||||||
if (launcher.isEmpty() || CApplication::isApplicationRunning(CApplicationInfo::Laucher)) { return false; }
|
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
|
bool CApplication::isUnitTest() const
|
||||||
|
|||||||
Reference in New Issue
Block a user